Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp796588ybt; Wed, 17 Jun 2020 14:22:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlalrbUFAnDB9rio9cFoaUHs9RhSes/4m8YTZgrSy242RQhWBRqa9z7XWw3qvG51YkYled X-Received: by 2002:a50:ce45:: with SMTP id k5mr1138183edj.80.1592428969654; Wed, 17 Jun 2020 14:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592428969; cv=none; d=google.com; s=arc-20160816; b=HUqpPD/NWHiMkcb2bNlQ8FyYPjH6ggoGH4ZIf0FWEIKHp3gMfkx/kQc+tAsM2WJgtq 0Kdod8H8/cGCwm8thQ6nmvOsrPa8rbL4cjB0msnBwQEvAggVRlwDPTCQvxCDzQs98h+w MyLPpYrwLmGUMNHuKvbFy7qv9RrgZ0HUSupD4MkmtcvH9ZSh0Fi45U5w30OGBfbRsuog iv07E62f9zxtV9gwqxtQI+jW3ikyZsfxx6k3PGN00za8+rHOX1lwvo16DXWkropsVNCP fy4ZQXZvrSXIs+/Vo7j1fRZTug5gbxmd1He7SEWm+0pW+Xvd8IKstH4fQksAau1RbVCP I14w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=jEfl+UBtBaeRWc9OqLkws3fXHIJWGXa+h/+9aZaxpFE=; b=UbN7nJADnuPqQJp9oBBqziPSK9yOg3fs4SrPtw87D06hlrvsyBDvhMmS71NJXkum4b szVDU4Uet6w4d3uB9pXkfUybMDIYQ3Kr+Vhth9OKyTQhQ7zR7z5+xGjAiMnUlAvWOuTz c5l4xQoDoZ1oBhv2oKgPZQIudUY6IvvcElF+qxRYeRRCzwy8MTwvUysZ78gOOkONEcGj gRKVkw5lth1Zh6Wlu+cIy/WzCYEr/hFnkMxNLrbhRS5ptj2V36KJehFTMZQgtbiMbTvv xLvAD37nQaWZY+g2E6PztDfAzMmAp0asH4Q/8XEa/ccTIlOPsq0SVkYkRF4e4avNEfOk T/aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ss2si625227ejb.1.2020.06.17.14.22.27; Wed, 17 Jun 2020 14:22:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbgFQVSs (ORCPT + 99 others); Wed, 17 Jun 2020 17:18:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:49128 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbgFQVSr (ORCPT ); Wed, 17 Jun 2020 17:18:47 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 25F12ABE4; Wed, 17 Jun 2020 21:18:49 +0000 (UTC) Received: by lion.mk-sys.cz (Postfix, from userid 1000) id 2106A602E9; Wed, 17 Jun 2020 23:18:44 +0200 (CEST) Date: Wed, 17 Jun 2020 23:18:44 +0200 From: Michal Kubecek To: Alexander Lobakin Cc: "David S. Miller" , Jakub Kicinski , Andrew Lunn , Florian Fainelli , Richard Cochran , Antoine Tenart , Aya Levin , Steffen Klassert , Willem de Bruijn , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH resend net] net: ethtool: add missing NETIF_F_GSO_FRAGLIST feature string Message-ID: <20200617211844.kupsyijuurjpb5kd@lion.mk-sys.cz> References: <9oPfKdiVuoDf251VBJXgNs-Hv-HWPnIJk52x-SQc1frfg8QSf9z3rCL-CBSafkp9SO0CjNzU8QvUv9Abe4SvoUpejeob9OImDPbflzRC-0Y=@pm.me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="44eqlknfr26opjcz" Content-Disposition: inline In-Reply-To: <9oPfKdiVuoDf251VBJXgNs-Hv-HWPnIJk52x-SQc1frfg8QSf9z3rCL-CBSafkp9SO0CjNzU8QvUv9Abe4SvoUpejeob9OImDPbflzRC-0Y=@pm.me> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --44eqlknfr26opjcz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 17, 2020 at 08:42:47PM +0000, Alexander Lobakin wrote: > Commit 3b33583265ed ("net: Add fraglist GRO/GSO feature flags") missed > an entry for NETIF_F_GSO_FRAGLIST in netdev_features_strings array. As > a result, fraglist GSO feature is not shown in 'ethtool -k' output and > can't be toggled on/off. > The fix is trivial. >=20 > Fixes: 3b33583265ed ("net: Add fraglist GRO/GSO feature flags") > Signed-off-by: Alexander Lobakin > --- > net/ethtool/common.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/net/ethtool/common.c b/net/ethtool/common.c > index 423e640e3876..47f63526818e 100644 > --- a/net/ethtool/common.c > +++ b/net/ethtool/common.c > @@ -43,6 +43,7 @@ const char netdev_features_strings[NETDEV_FEATURE_COUNT= ][ETH_GSTRING_LEN] =3D { > [NETIF_F_GSO_SCTP_BIT] =3D "tx-sctp-segmentation", > [NETIF_F_GSO_ESP_BIT] =3D "tx-esp-segmentation", > [NETIF_F_GSO_UDP_L4_BIT] =3D "tx-udp-segmentation", > + [NETIF_F_GSO_FRAGLIST_BIT] =3D "tx-gso-list", > =20 > [NETIF_F_FCOE_CRC_BIT] =3D "tx-checksum-fcoe-crc", > [NETIF_F_SCTP_CRC_BIT] =3D "tx-checksum-sctp", Reviewed-by: Michal Kubecek AFAICS the name for NETIF_F_GSO_TUNNEL_REMCSUM_BIT is also missing but IMHO it will be better to fix that by a separate patch with its own Fixes tag. Michal --44eqlknfr26opjcz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEWN3j3bieVmp26mKO538sG/LRdpUFAl7qiK0ACgkQ538sG/LR dpXuyQf/Thd13ZgZD56Ow44VpEH3IScuR1vm4S5/6kfXAxvwG3+ZxLsqB+b+ErIq wzHMRRVNiQO7k+2VzPT63VXzjRha6HnwH0PoRZOD5x7jLmoIyDAGPYS4luF+13/A QrcD8WmzWE1OL+O6BotIEKdGld6ldBhJkoZClnh9IIyUcGbnz7a5ZFo3OzWL5ftu 7JNybpLJo8+p4hUp6hbHX/yGCVeX2janyBru5ET5+bMkbE+C6elah17W7cDyk+02 fwPGEDPLfvermda+cRLs5S3HtSRrj6Wj4eM+s3q7Mn5XAIRCaBWQBqObXLVamX/p zW23X0P5H54TEiv2jsfiRPL0n3qXYQ== =GNYI -----END PGP SIGNATURE----- --44eqlknfr26opjcz--