Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1634504ybl; Tue, 3 Dec 2019 10:10:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxpdbrGgyZwIXAGKVBLIozWmWNz+nw8+LmFCkkCmQpAvSAyNXWaGtlLE62VkyJmtF5dO1Nr X-Received: by 2002:a54:4f14:: with SMTP id e20mr3687506oiy.84.1575396637404; Tue, 03 Dec 2019 10:10:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575396637; cv=none; d=google.com; s=arc-20160816; b=07mWF3z9iQevNW1RWKAIRZXJpANTKIB8xH3FRoa2YEejx3+7qL+iru9h2+AR3QH9hC vWa5H7AMnuKLt83BZrR1KsEg7oH4z9Wc+zg5aN0KPaH0jJQiJ3jzRmvHnXNlLgfSOTkC Ax70nn9uDh+Ha/zkILJBTqf5FS98risYrrW+sgoAA2byaVQha71uyfJnahzn2SNWtvVm xudgTXsIO+4dDShzCmKoRWokFnyDP8ljuIhJzBsZRJifkhvoc836tx8s+pRLR4eWJlTX d403JrKrAy7IJa7jydboy7PduzcWe9f1EAvEQ9BVTaApvGKpbygkqtlG4CC270o3owRg wVBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=loykSnf98Wtp3TswEHEtBrf07V1DthMDfsibxgCSjdE=; b=dfl0HR4mNbLnsB0QQ1p0zDIhTDKo3XLUV+/t0cElo6lNBxS1Bk7ixwvvhAqL0gFxBd e2p6rUQDzh9rm/8E7m0jPKJKa3saFUJWaeyizgn4t2vl43HAijSV2DlsK6xOeEvATEVz F5nBYleDr+qf1Qw2jqzQkZERsbryZV1w2G1sI0JEZirHG26vMPdTTmuaWJLTJa+q6gRB 4cfaDSKxPSkuvt7RwB/8kCremr1JG+deSu6F1rajEdt2Vvfz6W4zYrLx9QLt0wBXuvWX T48tA81wm2APwo5ZEoDLCA6cZQ2WpYMvq0RWxH7xIOYwLYdCClxbXbdLXfAjGyL9Dp+D H2Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="polSkby/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si551586ota.43.2019.12.03.10.10.25; Tue, 03 Dec 2019 10:10:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="polSkby/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727206AbfLCSJp (ORCPT + 99 others); Tue, 3 Dec 2019 13:09:45 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34778 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727316AbfLCSJo (ORCPT ); Tue, 3 Dec 2019 13:09:44 -0500 Received: by mail-pf1-f194.google.com with SMTP id n13so2247737pff.1 for ; Tue, 03 Dec 2019 10:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=loykSnf98Wtp3TswEHEtBrf07V1DthMDfsibxgCSjdE=; b=polSkby/2rPftEWzAa2mR2P/AQVU1TyZPkOR2+OvDZVoDx/+YFkLk2AHfp422MbJws MXF0fY0WkdAB2Obk+kK5NspG6Mladz7tkDLx/YrSbCL2WJuhzWHSEyHLw42lS1CmFoHJ 5F68HXn7NvaPWpyltr4OM080sSVvgDjTyPonfequpLY+neG1NkT1f/kyGfkvF2OJUXOO Pm0Qy1/alLPv6wCPlGMkPZt1YkvkqT59u4Qh14NkuQmVo5cL7a2T+R8hN0u7EMA0EVXQ GNo75rvQe7rfpfnUY0nAfZdc+UhViTY/ol6Ktgi5wS8Y9pxf+ABFSZF9td10pnED6g8b oBvw== 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:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=loykSnf98Wtp3TswEHEtBrf07V1DthMDfsibxgCSjdE=; b=NBM3FbiLm82Fw2t7U0AOP5zl+9/N2fDoft5c86gASaPO5ogzHceqwZgIaNyk5apCJo BSyg7VdLko67zIikyG3X5pudvmb7px9OiDvjQyhUMBO4sgNMfXs9XamZ6dtT3P+NNVCr k7Y8lSHNSL5lBYGp8p/JDryvPnXHVfmLwXJln76oGtigRA/snJvpedmpkNvCwottkLvd qPH0FttE7yI8e/QzshiR1DVEQAX2NMKo/O8ZfFXEwYYAgY9+HBZzJQMnsrldhINKjmcB SvHe8NGuYpD8lfJY+BoxNaYJwrmnTRg0XvchVy9IPcHQilV+g7FsLjWQW6pe29LEsM0W T6rQ== X-Gm-Message-State: APjAAAUWUdAH5fJP9hGnswdr/OJEAP2fmMUfV3k1WRSrdOYaLY4VMOvt IJ8UuRBC0MkaJbpulJZ33qrxuw== X-Received: by 2002:a62:5cc1:: with SMTP id q184mr6181056pfb.116.1575396584005; Tue, 03 Dec 2019 10:09:44 -0800 (PST) Received: from cakuba.netronome.com (c-73-202-202-92.hsd1.ca.comcast.net. [73.202.202.92]) by smtp.gmail.com with ESMTPSA id x11sm4454147pfn.53.2019.12.03.10.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2019 10:09:43 -0800 (PST) Date: Tue, 3 Dec 2019 10:09:31 -0800 From: Jakub Kicinski To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, Tariq Toukan , "David S. Miller" , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, oss-drivers@netronome.com Subject: Re: [PATCH RFC v7 net-next 3/1] netronome: use the new txqueue timeout argument Message-ID: <20191203100931.43207030@cakuba.netronome.com> In-Reply-To: <20191203072757.429125-2-mst@redhat.com> References: <20191203071101.427592-1-mst@redhat.com> <20191203072757.429125-2-mst@redhat.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Dec 2019 02:32:14 -0500, Michael S. Tsirkin wrote: > 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 txqueue) > { > struct nfp_net *nn = netdev_priv(netdev); > - int i; > > - for (i = 0; i < nn->dp.netdev->real_num_tx_queues; i++) { > - if (!netif_tx_queue_stopped(netdev_get_tx_queue(netdev, i))) > - continue; > - nn_warn(nn, "TX timeout on ring: %d\n", i); > - } > + nn_warn(nn, "TX timeout on ring: %d\n", txqueue); %u > nn_warn(nn, "TX watchdog timeout\n"); I think we can drop this warning now. With that: Acked-by: Jakub Kicinski Thanks!