Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1009797ybt; Fri, 19 Jun 2020 21:30:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKVvKNIWdD/UpNW/b8XEG56x0e/uJ6ixc4RNsUG7W7BdWEHvO9em/S6cDkyLFQGWZeyxJI X-Received: by 2002:a17:907:4240:: with SMTP id oi24mr6432621ejb.127.1592627432589; Fri, 19 Jun 2020 21:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592627432; cv=none; d=google.com; s=arc-20160816; b=VAmDQAklPiNxUOCwjHf1jhhBD9LT938lV6cVhvA2AMCgsyMnG6j39DIKqj9XvCUZEX Nig+mwyjq7y37IqOZaWScB7hQ2pwZa4TdEOsJfLrl3qjDqD/sUthUN5LIZ4hV5SK+FZ5 69mFU/dvi0e2+ZsFH8mT4ttU67QkUF9wueJN/K90AbjP4Bfw4qHwdo3bJSPCP5BsQrHr wCup0SIucGZP4SmWgwMWeJEY/qPvN5v/FXc2eXZshAwsqMgK9kII1/df89Sr5JpzNVTA xhrn+AgcUaiLwqGGj6axeEwL5g7hUACpl2ivks45/eTMp2eEF9pIxIztDdwCAFyss3oM npmg== 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=xt9FcSDY9Nl6m6FCtdnFPbr4ruQnPLHweIaO3/bHk1k=; b=ZBNQhIhrOaT93m+PDcnCytIncXejNzutAdAzkt0nnqQJHgoBUl0dD8yEHLpS7LjYZL IiOgjRt8OyR/h4lmDPpt2M55eX/7ubegxwmtTCusZm336cbPSQZ8chhG4rA+teOCm5BK ZbjTV5GDWoMkyc0I2L4DEId124+jndgGxJZexJ+GXI/tf0Ghg0kOgT4cQpKG9JsdBeuR C2UAcP6VEXbEKhqTLCON9f8bYkTuRActX2kjQqgzhTMacSHWWtSY1rQ5T6G9yXNZ08Zu WO/bF9H4VBBVQMgOqlaJcKB5LA8yGmMCcgvc4gLsYHM+bSBS0xjXlhptT8FQSkNhZxFS 8i8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=HkhM+Nby; 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 e5si5271049edk.409.2020.06.19.21.30.10; Fri, 19 Jun 2020 21:30:32 -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=HkhM+Nby; 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 S2388524AbgFSSty (ORCPT + 99 others); Fri, 19 Jun 2020 14:49:54 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:61031 "EHLO mail-40131.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733289AbgFSSty (ORCPT ); Fri, 19 Jun 2020 14:49:54 -0400 Date: Fri, 19 Jun 2020 18:49:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592592591; bh=xt9FcSDY9Nl6m6FCtdnFPbr4ruQnPLHweIaO3/bHk1k=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=HkhM+Nby1w/55hDva2vkgVpsPydhfO7hd/A5dktc9helG+5XziviKVkl/QXCuRIg6 tCMLAeuAUD/EkLy25+bDdH1zrNUE5x7F7lqyeIEJnR79shG3VJjKMKFUm/cis7hKRe PhjO3KP3OuZ8vOMXveyTVPyDKvwujv7X+KkZtkmntw5s4u3KTQkuX/v7cQ68oEOIe6 CnlOM/OJbG4Rp5oJBJ/WDxyPWx3Vt9N2hiqwMLEDLXSBzXTCeFkl4plPWV/6ekJL1E 8LQsC2/lLqSqdmwT5T/tLYA9tQ7h2tu4C8FEhYS/3EOKBZjjzPJLZG2LYJrJbdRN8w PRLlaquhkYuVg== 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: 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 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