Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3492432ybt; Tue, 23 Jun 2020 03:46:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfbzbvm6y0Wtx7WX0fQBrfEW1QxLsPVcKTJjpr+O0r0ArBSpNTVGm7NqL+mVtMAT5CsvX6 X-Received: by 2002:a50:fa8d:: with SMTP id w13mr21513020edr.324.1592909171172; Tue, 23 Jun 2020 03:46:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592909171; cv=none; d=google.com; s=arc-20160816; b=XOgWcb9Ba4SMXtJo7t396+Md/TjnriIAUa8O7OpKb8mKuSy1957rLfjv+RP3L3UKwb TAB+ZSk5VA8bJHugJ0aYCx7vOlesArnSwkPcETFqoAGeBntyCvrqXxW8kXgGhSzTak/Y 94yXpqziYCAlmXoNKYgJ6CGBb4cHYSiGy7yPJijvQDCkZoorXxnDcV3ouqYb0Vc7DEKr Y0904J9W58eZ4L8l8WnM4w9z561oUrQFWEN4vQfuiwrOSPkCPkFlsmEbHqzrfWZR7llD O33+n4plM0KAh9JjH+Z8zVXr/Um/z+BrY57S2qagJCUFc6nJ2/TU6tiulQrbxBq01ihN ow5g== 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=LxhQtbSeiWbbxxDfDbRt6BCldu7riEbst4uIy5bgtvo=; b=UBGTHoF8OvPCiFcWaWMV7fijl2otiHHaEisXYLfr8eRXr6pBFDptwSZw0NW2vy/wm0 ZUPiR8RO/PWK3u0ptsTFDTq5dnRd4B/J71OiTNZc4RjZZEWCXxoyIqeweWGWR5MG9ddn u8NxhxV9MwqDQBqE4JGA7ePpOKpI3HUpvXW5mAQ9UB5yLNWXSEF2BA91soMkHXAQeuS1 Pt7VEr9KeRNlTa3e4+OiNUeUS8F6KzF/fY/ozQtRk9oFBUvD8tZAdbkstirt2LM++7jS Ex/HLHfuTe6TbjJ8YJIJZH6jHeoW3TetsKXj6HmcSv+tEC8lBjh+jiDP9z2qR+K5AlWF BZEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=ASLJ3jgX; 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 c15si2663487ejk.329.2020.06.23.03.45.47; Tue, 23 Jun 2020 03:46:11 -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=ASLJ3jgX; 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 S1732247AbgFWKn4 (ORCPT + 99 others); Tue, 23 Jun 2020 06:43:56 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:63313 "EHLO mail1.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732172AbgFWKn4 (ORCPT ); Tue, 23 Jun 2020 06:43:56 -0400 Date: Tue, 23 Jun 2020 10:43:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592909033; bh=LxhQtbSeiWbbxxDfDbRt6BCldu7riEbst4uIy5bgtvo=; h=Date:To:From:Cc:Reply-To:Subject:From; b=ASLJ3jgXPTW7SmAkk5DGVSQF06v5Jfbn/94tmeiVBG79evb2cbehX7P43it5BQXny UeU17AYKJ2xvLGrUIOuMd9Pm9Tq6BOW0r5CbVNcT+K0k3abCSUJeXiPuRJsYGBZz+c F3mCYMXDC+eZ96ipEA2MCbRLKwu89IjAV3L393JrLLKq8MhIb+8wu6T6XAHNpds6Ot WTWi44Pb6sWcoY409ybfHvrkaN8ReJn3ORpFbUqDMs/ZpyPHo/7dS9IhOeJNPDAw5K BfLHVxLldqLf/ZHsyYyQfqIWX2WugQaHz8Ge+gI6ye0Ho1e8RNCFMnuoJ9T7qopvLM oPqLzljrjcK1Q== 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 v3 net] 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. v3: - decouple from "netdev_features_strings[] cleanup" series; - no functional changes. v2: - don't split the "Fixes:" tag across lines; - no functional changes. 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