Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3706362imu; Mon, 7 Jan 2019 08:04:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN6twAWrnt/DVIgWrpd7AjGndZc8XsE2Q8unqTjy18JfZNS/PAlApMN8s2b124F06Zh2QA0g X-Received: by 2002:a17:902:15a8:: with SMTP id m37mr62456217pla.129.1546877055499; Mon, 07 Jan 2019 08:04:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546877055; cv=none; d=google.com; s=arc-20160816; b=aEdbtA4NbI1CUpUYVru91RQg++Mu0O30tAhTh2OKWAnGEqvhCfFsavbUZpVocMA9ZE AyFdAeLmYfuLBvzx2chXtNKZOrYrivzS60g7RcfxvVCl+pDeM5HWiheIIJ2/RBgy5xXG l7ADBA1vA39mEcYwfwt1HKADTeqT6Dcxko+URp5X+UJSXEDuxRUW8594gxeDhBiqPkoy 0+W4mPsBi7xaT9epWC3bce9OzFHlM4oK5hDiEU/7NKygzn7UPyMqMb2LE0ElGgHT8h0d heyZA+VscONDYD/7doQ8gKDdCUTkTxfaUpRxr5tF1f/RTf4giJ29MouVjn+0prn0DKqf 7kRg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WrITp8JYbzH1+XKvUAEIGuR2yQQM06SkAEcE9LFDWCU=; b=KXTSbnJWc+1AjMOWMiAWo4pYr/clDBU/Q2wc98rZEd1U0+jZM6WDIDPY4LL0/7L6YU 4bAnn4cL/v3Nz7Y6mYmJR29Rt3wRYp6RAjzwBhgXLt44LS89wyDm3GnJjPGdMF0aimu9 jo76y66iMDSu5fnzC7dHSyIlhz11U+sve2YUGeeIZSwPT0KJE7S880pcaaerzLakkPoU U/sdSG95RNKGaweogpBePsgWvWXInUpzdpvgU4MhxQF+PYU3VIDVjYsyL4ltsZDvgmry 8uOG3xdVu1mJ1dShztJ6/4nTQmo+0atpkLdpYHeCAREaVGPUmCVNwnvK8Q3fOExMdS6e QgIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2S1DWkjI; 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 k26si3196493pgb.72.2019.01.07.08.03.56; Mon, 07 Jan 2019 08:04:15 -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=@kernel.org header.s=default header.b=2S1DWkjI; 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 S1729223AbfAGMso (ORCPT + 99 others); Mon, 7 Jan 2019 07:48:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:39464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729215AbfAGMsl (ORCPT ); Mon, 7 Jan 2019 07:48:41 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 52A23206BB; Mon, 7 Jan 2019 12:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546865320; bh=iPqK5ARZlb/Zk8wRnJOV3VRApZslQWloF2H/71ee4Eo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2S1DWkjIU/UOyTDN9ITvjGODLLjCE4D7QbeCrVTJ0hhqooNKUcJhBbhRGGziptHpW hxIyyzDFUfdYfqeM0bzbhIXFS6IlQfNxsRl8Vrwq5zdQvWEAZ9HvvB+6iYXTnzzdKS 9xsfrYsDV/sqZvcka+10/1I/Xps7VD0fz42ffWCw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mikhael Goikhman , Eran Ben Elisha , Saeed Mahameed Subject: [PATCH 4.19 054/170] net/mlx5e: Remove unused UDP GSO remaining counter Date: Mon, 7 Jan 2019 13:31:21 +0100 Message-Id: <20190107104459.489380612@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190107104452.953560660@linuxfoundation.org> References: <20190107104452.953560660@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mikhael Goikhman [ Upstream commit d13b224f431579fe2d712871d4265d7a22ca6c9c ] Remove tx_udp_seg_rem counter from ethtool output, as it is no longer being updated in the driver's data flow. Fixes: 3f44899ef2ce ("net/mlx5e: Use PARTIAL_GSO for UDP segmentation") Signed-off-by: Mikhael Goikhman Reviewed-by: Eran Ben Elisha Signed-off-by: Saeed Mahameed Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/mellanox/mlx5/core/en_stats.c | 2 -- drivers/net/ethernet/mellanox/mlx5/core/en_stats.h | 2 -- 2 files changed, 4 deletions(-) --- a/drivers/net/ethernet/mellanox/mlx5/core/en_stats.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_stats.c @@ -73,7 +73,6 @@ static const struct counter_desc sw_stat { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_recover) }, { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_cqes) }, { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_queue_wake) }, - { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_udp_seg_rem) }, { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_cqe_err) }, { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_xdp_xmit) }, { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_xdp_full) }, @@ -194,7 +193,6 @@ void mlx5e_grp_sw_update_stats(struct ml s->tx_nop += sq_stats->nop; s->tx_queue_stopped += sq_stats->stopped; s->tx_queue_wake += sq_stats->wake; - s->tx_udp_seg_rem += sq_stats->udp_seg_rem; s->tx_queue_dropped += sq_stats->dropped; s->tx_cqe_err += sq_stats->cqe_err; s->tx_recover += sq_stats->recover; --- a/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h @@ -86,7 +86,6 @@ struct mlx5e_sw_stats { u64 tx_recover; u64 tx_cqes; u64 tx_queue_wake; - u64 tx_udp_seg_rem; u64 tx_cqe_err; u64 tx_xdp_xmit; u64 tx_xdp_full; @@ -217,7 +216,6 @@ struct mlx5e_sq_stats { u64 csum_partial_inner; u64 added_vlan_packets; u64 nop; - u64 udp_seg_rem; #ifdef CONFIG_MLX5_EN_TLS u64 tls_ooo; u64 tls_resync_bytes;