From patchwork Wed Jun 17 20:42:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Lobakin X-Patchwork-Id: 217652 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=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS 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 082A4C433E0 for ; Wed, 17 Jun 2020 20:42:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CD7B0212CC for ; Wed, 17 Jun 2020 20:42:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="dJZ7V534" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726919AbgFQUm4 (ORCPT ); Wed, 17 Jun 2020 16:42:56 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:11589 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726496AbgFQUm4 (ORCPT ); Wed, 17 Jun 2020 16:42:56 -0400 Date: Wed, 17 Jun 2020 20:42:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592426573; bh=JND/l7786kUSxBbLYRdesoUGCzeCMfI9KPapF/3Xlpc=; h=Date:To:From:Cc:Reply-To:Subject:From; b=dJZ7V534yULCAFDaMjso/tGN1Mu2yzIoGM5AJ4Jwsx2x4Xbb3Ov+wRxaYrCHItsg+ NFAvdoGvqmpXjovGLS6aQHY5YmeNOTNndxvLfSb/d1qXNny29sBVYS1Lr7kY62jM4F SUZd0yKoGZ1t6suodCLBNViuHT7v7ys2C1iH1Zc99gvywXwXBqVVJAxowleqHyvM9Q gYRczrM6Fmx2LgDCbw8Z+2cHE4XI+Eu3mQi2RkU5ERfXmW7lLdNkTBe+Zpg+p6IX62 xoMAEv3gD43N18HozALjoM15KsN7ArWl1HlhdqCrxvs/ReSdToy+fPC35ZPkb6BBuI Y02PCUsuMi1YQ== To: "David S. Miller" , Jakub Kicinski From: Alexander Lobakin Cc: Michal Kubecek , Andrew Lunn , Florian Fainelli , Richard Cochran , Alexander Lobakin , Antoine Tenart , Aya Levin , Steffen Klassert , Willem de Bruijn , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH resend net] net: ethtool: add missing NETIF_F_GSO_FRAGLIST feature string Message-ID: <9oPfKdiVuoDf251VBJXgNs-Hv-HWPnIJk52x-SQc1frfg8QSf9z3rCL-CBSafkp9SO0CjNzU8QvUv9Abe4SvoUpejeob9OImDPbflzRC-0Y=@pm.me> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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. Fixes: 3b33583265ed ("net: Add fraglist GRO/GSO feature flags") Signed-off-by: Alexander Lobakin --- net/ethtool/common.c | 1 + 1 file changed, 1 insertion(+) 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] = { [NETIF_F_GSO_SCTP_BIT] = "tx-sctp-segmentation", [NETIF_F_GSO_ESP_BIT] = "tx-esp-segmentation", [NETIF_F_GSO_UDP_L4_BIT] = "tx-udp-segmentation", + [NETIF_F_GSO_FRAGLIST_BIT] = "tx-gso-list", [NETIF_F_FCOE_CRC_BIT] = "tx-checksum-fcoe-crc", [NETIF_F_SCTP_CRC_BIT] = "tx-checksum-sctp",