From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A77EC432C0 for ; Tue, 3 Dec 2019 07:32:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 404AB2073B for ; Tue, 3 Dec 2019 07:32:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GpEiArsV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727472AbfLCHc0 (ORCPT ); Tue, 3 Dec 2019 02:32:26 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:29035 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727501AbfLCHcX (ORCPT ); Tue, 3 Dec 2019 02:32:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575358342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I8wShJUZhIPRvHwuVROe4jfsRpfx1Wn6vaFNLNcy50o=; b=GpEiArsVVr0xpm/Ns4SgCv9bIDOP7Oa0Goub0jyQvesAMY2aoUiNzCGhwbxnkA5eWpB9JH x0qgIf7do8ULN+nKwPnOxgXxpb06ePNHmlGmg61IeWaUYIFWnih9TE/E8z4W6yUqp8ZYJ+ dWmVekHb21wXRvhPvu2TIAqaanJgvFc= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-187-b7c3FKTVOkqrFmZ_7iqKqQ-1; Tue, 03 Dec 2019 02:32:19 -0500 Received: by mail-qt1-f200.google.com with SMTP id j18so1807357qtp.15 for ; Mon, 02 Dec 2019 23:32:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jwSFHekH13o2QJMVsrxXSIHF6QQ380ubnLoCLySwb1o=; b=l5U/0PP0Jk/6+BQoRjo14noCbCo/3hvto8bVtPZMkiJRUV1qV20+8YUstPOzMowtiO oUAMjuxsybvoY1oCxH4vaWq0/4y30EF+vTkfHBw2fkEnsFS1M5UosZyGmEHXvNUvFr8w 2v+CGJPIVTahlfGduJEcmLj/I4jbGmAcN1EGJUpgeHbgmw998f93ivfA8eVduKWFolHL 3xc8bbfY4yDy0nCAnQA1meKP70tiFLOEcDJ67OB9ZsNsZJ0yoowYRzwGtHavs35b7JWr hOCrAaqFb/nma0an818QPo/LL9Bfz5/8a3k/NBLCwOWaH1E6X3JM6GpDFfsmxI1jgyF9 fJuA== X-Gm-Message-State: APjAAAUx4syFCU6MFFdtCv/zYhq6a/gKcGJX/hWJFBpjSeYD6VUd85e1 P75Qfont5MlHQX4V9jIrdLowigfKMWKZ/jW/2IBDrUbExEQybf+AkoV6nuhOlQygfq1E35Dng1s Kfsl/VeJimP1PYOyHR7zCaA== X-Received: by 2002:a37:404c:: with SMTP id n73mr3711274qka.292.1575358339503; Mon, 02 Dec 2019 23:32:19 -0800 (PST) X-Google-Smtp-Source: APXvYqyPaIxtXBZQ4fHmWb1RYGKoL1DTAUuB7vZrs880mGPQQ0Qr4coSTbpggTuqOoohiw8W26zU9w== X-Received: by 2002:a37:404c:: with SMTP id n73mr3711260qka.292.1575358339311; Mon, 02 Dec 2019 23:32:19 -0800 (PST) Received: from redhat.com (bzq-79-181-48-215.red.bezeqint.net. [79.181.48.215]) by smtp.gmail.com with ESMTPSA id 132sm1285704qkh.14.2019.12.02.23.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 23:32:18 -0800 (PST) Date: Tue, 3 Dec 2019 02:32:14 -0500 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: Tariq Toukan , "David S. Miller" , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Jakub Kicinski , oss-drivers@netronome.com Subject: [PATCH RFC v7 net-next 3/1] netronome: use the new txqueue timeout argument Message-ID: <20191203072757.429125-2-mst@redhat.com> References: <20191203071101.427592-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20191203072757.429125-1-mst@redhat.com> X-Mailer: git-send-email 2.22.0.678.g13338e74b8 X-Mutt-Fcc: =sent X-MC-Unique: b7c3FKTVOkqrFmZ_7iqKqQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Michael S. Tsirkin --- untested drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c b/drivers/= net/ethernet/netronome/nfp/nfp_net_common.c index 41a808b14d76..26f1fb19d0aa 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c +++ b/drivers/net/ethernet/netronome/nfp/nfp_net_common.c @@ -1323,13 +1323,8 @@ nfp_net_tx_ring_reset(struct nfp_net_dp *dp, struct = nfp_net_tx_ring *tx_ring) static void nfp_net_tx_timeout(struct net_device *netdev, unsigned int txq= ueue) { =09struct nfp_net *nn =3D netdev_priv(netdev); -=09int i; =20 -=09for (i =3D 0; i < nn->dp.netdev->real_num_tx_queues; i++) { -=09=09if (!netif_tx_queue_stopped(netdev_get_tx_queue(netdev, i))) -=09=09=09continue; -=09=09nn_warn(nn, "TX timeout on ring: %d\n", i); -=09} +=09nn_warn(nn, "TX timeout on ring: %d\n", txqueue); =09nn_warn(nn, "TX watchdog timeout\n"); } =20 --=20 MST