Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1003987ybt; Fri, 19 Jun 2020 21:17:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJW5+lq6SbniSZ9UY0bmmX4lig7K+gKRqkigtOOF3sqgNWkoa/GyLf3igmt8HzQVPk5IGd X-Received: by 2002:a50:f017:: with SMTP id r23mr6238001edl.205.1592626640887; Fri, 19 Jun 2020 21:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592626640; cv=none; d=google.com; s=arc-20160816; b=xnCSBGNVs4QYeSOCjcupYLTJAGpEtqw2BEn3C3yRBVEX3GUhySeGMeYGKZmDwtRQaQ 7WNyOZ7MgrBvyGvklmEOUjBoXGbEuaRiEf45TIfC+fIPAPNgFOVkl6jtaBnykf7JryV0 do587pKGBhcymX2P46wlq1CmDT2ICyaezIcjebg/XkpVVQesbL40jLRnBBx5Vb4xwv5d dFtHIoTvXlYv29PprpHcTY/8/i23QGHS8DxrcijsrG23nX7aD6GA2v6pNgUBK+ElMlzJ Uk3rPg4O9+Kt0C02n++IoN7NhNNE9LU+PEU2roBuMUlL8KHZzgbf8v8vmA+mo3AfmPU+ 5Iig== 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 :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=xt9FcSDY9Nl6m6FCtdnFPbr4ruQnPLHweIaO3/bHk1k=; b=ehIPJpX63iecrUWnMTsjTyZRVByCVxB+j2D+0HJSe0vNQdpDWw2Pbup4DKytbhIpeh GSAD9ZO0McR4nYUYD4MLmtfnST4z+Ks3hFrQj3P8z/c9ZmhLIpt5dJhNJJ46KTuYmEjP JSrckaFsxzXuD7klZvl+yTKDQUSENdy/+VeyWS2sSjMexG3Lt0FHjRhMlayS7Ya/jVfG 7eBtaol1K7KTDCr0uvvjgJVJ3AhrYKnZ6kZOiPkdPotDG3eX2owtaEUAo0MN8FdffLAl +f0u4izcuCA8Ki8nvnKZYDMFf3auXR41OvVfFP5pskzoVmEjEDyfoMTu6K50mXapu8JG k0hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=pFmK8XsU; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si655617edp.282.2020.06.19.21.16.58; Fri, 19 Jun 2020 21:17:20 -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; dkim=pass header.i=@pm.me header.s=protonmail header.b=pFmK8XsU; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392762AbgFSRfR (ORCPT + 99 others); Fri, 19 Jun 2020 13:35:17 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:18144 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389388AbgFSRfQ (ORCPT ); Fri, 19 Jun 2020 13:35:16 -0400 Date: Fri, 19 Jun 2020 17:35:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592588112; bh=xt9FcSDY9Nl6m6FCtdnFPbr4ruQnPLHweIaO3/bHk1k=; h=Date:To:From:Cc:Reply-To:Subject:From; b=pFmK8XsU1mVJCZhek4tdw6HeYYIApc5F2XOqjfO4gclb/IVLX/mXnov8jppqk5MiZ Sbk4cGaqJSqhrTTMrMZFbsbAWd3ED8RDbx7zTbueVuEyUZ0ah2kdXJDAk1zjPRPbpK ayrT0oVmeM5g3ENuqIu9WLzYjRMjLSG7P6iaxz5szFy+makwHbUkdi3bhLlSLo9ZFu tfEcDsxjsoQcCIlr8oZ6uWaO7STPnokRXCDuMo99iVXW823/EMOFAsya0Rys8rrUh1 M2/31zNktwSEh0tACX0nevon9pfoh+To+GFjKXXwet7ZrTXiutgYdkhjbrpFgYoxLO RnPdSetDnL8Lg== To: "David S. Miller" , Jakub Kicinski From: Alexander Lobakin Cc: Michal Kubecek , Florian Fainelli , Andrew Lunn , Jiri Pirko , Antoine Tenart , Steffen Klassert , Aya Levin , Tom Herbert , Alexander Lobakin , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH net 1/3] net: ethtool: add missing string for NETIF_F_GSO_TUNNEL_REMCSUM Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit e585f2363637 ("udp: Changes to udp_offload to support remote checksum offload") added new GSO type and a corresponding netdev feature, but missed Ethtool's 'netdev_features_strings' table. Give it a name so it will be exposed to userspace and become available for manual configuration. Fixes: e585f2363637 ("udp: Changes to udp_offload to support remote checksum offload") 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 47f63526818e..aaecfc916a4d 100644 --- a/net/ethtool/common.c +++ b/net/ethtool/common.c @@ -40,6 +40,7 @@ const char netdev_features_strings[NETDEV_FEATURE_COUNT][= ETH_GSTRING_LEN] =3D { =09[NETIF_F_GSO_UDP_TUNNEL_BIT] =3D=09 "tx-udp_tnl-segmentation", =09[NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT] =3D "tx-udp_tnl-csum-segmentation", =09[NETIF_F_GSO_PARTIAL_BIT] =3D=09 "tx-gso-partial", +=09[NETIF_F_GSO_TUNNEL_REMCSUM_BIT] =3D "tx-tunnel-remcsum-segmentation", =09[NETIF_F_GSO_SCTP_BIT] =3D=09 "tx-sctp-segmentation", =09[NETIF_F_GSO_ESP_BIT] =3D=09=09 "tx-esp-segmentation", =09[NETIF_F_GSO_UDP_L4_BIT] =3D=09 "tx-udp-segmentation", --=20 2.27.0