Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1901031ybt; Sun, 21 Jun 2020 02:59:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl39BVRMtYsV0JHvOSfhqMgui9dJEN2yXVqS8Q+MYEf/unsonLEdXMwoGKZjb9xSjEv4Xy X-Received: by 2002:a17:906:3e13:: with SMTP id k19mr6088815eji.476.1592733558302; Sun, 21 Jun 2020 02:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592733558; cv=none; d=google.com; s=arc-20160816; b=fs/8y+GeEzeLmO1iZJcp1KC8u7ggZXC6H9BXyDCbBKHBuT860NT+omn6WGTQUJ5etl 4wMAVLppWjbfpuOcWngf+xHyCoIyroCSfk5eaBHA2tIyvFVssbknDrofAihmiCR29CTs 2WFsXaF2uzELetw9IkH63YRc5hwtOUavRMRCdWMzWjwfHyexszGsr81DrUgAADYQHH0c mjCv1v92sSWj9R6lE4rwkcimjCX9DK1vZIxEpPvt/KRxCBXZPGdm6Re7XXWKvTCvdkSl lLSwtliUJ4lU6vAgYyuguHKuG2rWHip6+2nWUVYaFdeGqolTUWX43z1meggOg7INI1cE MDxg== 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 :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=MDwLDc1JoR9QRgmmBefl/3rYHq3pLxsGdgTUQ1vf5S8=; b=NwX89f9XXckNBX5Wb+jD7ryHSOrI+OCwTOF+aD2qWKQvg7pPWjeB/u4tqtTQ7B91dS lFn/vcAF4ELKKQvMRsK++U4A92XjFcfVekY1TPoeMoQkNX/WFsprOF1cTcwBWrYorWVP nINmzJsn/en/AaSstOy+pB9ofDECc3W7d50WfiLY+zD0l9BT/R9lo5CEDjgbzYHh17zI QoU9NHRxDtZPt+iOx2mO7U3O9K6RxFweUI3YzqazgMgM1NaBuZ0PRPBsDv4T/U4IQe66 bT5NI8ur7ULylzxAdjLdhDxve8H5u3mzVbQIVT1qHtu1vPOngw9UbDeZX0HVO7B+WKxs N3kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=KkoxG0sN; 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 q24si881174edw.193.2020.06.21.02.58.48; Sun, 21 Jun 2020 02:59:18 -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=KkoxG0sN; 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 S1729772AbgFUJ4u (ORCPT + 99 others); Sun, 21 Jun 2020 05:56:50 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:62971 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729749AbgFUJ4t (ORCPT ); Sun, 21 Jun 2020 05:56:49 -0400 Date: Sun, 21 Jun 2020 09:56:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592733407; bh=MDwLDc1JoR9QRgmmBefl/3rYHq3pLxsGdgTUQ1vf5S8=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=KkoxG0sNgBOw4fFiATyanWWZZcuee8CGTyEb+go31NvUDln3WjesTfeV4XrI4MsyI F9ciAokBepwrgtxRwssrOsQg94CydPqGeEAQjYdHASSUwS8XzvX3rZ75jbUOV0vQbf eAYNK8IuipbOWeSk7u+h/Xfdv13D85027CyaF3bJGpCE2Lae6X8LScoNphoy72GfTD u85rkFDcnWGbUGTjHJXBJ32qfbUFFozKubN6FCfVuXSNCvDpVBTBIGR41ipUrzKD1E z/prrP3wD1ZpJMr22ZT1g+05ZE9dQIrox1jqjhvtYz36k32xKIwi3H/O2qmLi2hq5m SHde3IZEQFt2w== 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 v2 net 1/3] net: ethtool: add missing string for NETIF_F_GSO_TUNNEL_REMCSUM Message-ID: In-Reply-To: References: 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 checksu= m 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