Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3076361ybt; Mon, 29 Jun 2020 14:42:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysQeeHPlx8OBuOZ5hqpTuYSdCN/O/42btIdgBC4NkCtcD1bii2t/o2CTxG0CxMJDMEsPWM X-Received: by 2002:a50:e3c9:: with SMTP id c9mr20458810edm.90.1593466922922; Mon, 29 Jun 2020 14:42:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593466922; cv=none; d=google.com; s=arc-20160816; b=cm84WpNCpKmHqc0ocg6JgTchB+V8fgxGoieEedGbv6fT7yv+3CRRetRsN2j9oM4t5Q Vea0XmDgzYeQiye6lvnVdPlY79SIionGaEyeMfU2iWo+54prEpTwULRX2UEjsrHgUMJb LYm79yNneQxHyIbO7lcbDF8th++wBQAo7lrrj0UwoywS79Hq2o3c/uKMbyrqF2+XmNcH 2k0k0r4HAOVsbEPSNksf6mo0tyyhcPpTMeiD1i8cI8moFoFG1Hfg8b5VNAMTOS/kvu21 c4b2VdgdFPCh468iAcRVmzuDOrDEyzGb5MoD4tbHGCqLK/Qh8HElpoRGjW8KtwZkzvRY wvQA== 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:date:subject:cc:to:from :dkim-signature; bh=2rKb8oI6Vs9yRQKw1h/KMVUmV+0b0/CPsUNvQAbkwX0=; b=AusgYeKo99xM/9lmTzxUpXGdf3vxekFLigRvKNMfnK9qPKDRD/e7aCrT1B4/36ye73 nR+/xp9GNAI8WTZNdFN3/79pfdKFLin8e3ar4Cr7mzHFSiqsKEtkCvSG46os2k8TXj6M GG6Iz75OhCK04q+uYAqoII7ge3tFMShjbseXoLt11x4eaHUOTGijWoXzbroW+kFQMODZ EDlJcg0j2ahN/BGXH2ZSkRG+2HN6NSheHLwhkK/tLQOrpkzR+XXCFwey6nVAEKNHzlkV FrWeT0uqIGPUDkqO1eMt1ByM3qqu70E2qAx24AR6uF5aT2JE3URqylPp/T9L5OYuyNB1 Eiww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aDbix2nr; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rk8si514177ejb.578.2020.06.29.14.41.40; Mon, 29 Jun 2020 14:42:02 -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=@kernel.org header.s=default header.b=aDbix2nr; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728216AbgF2SkV (ORCPT + 99 others); Mon, 29 Jun 2020 14:40:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:60566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbgF2SkP (ORCPT ); Mon, 29 Jun 2020 14:40:15 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9BF1D23F36; Mon, 29 Jun 2020 15:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593443913; bh=Fu4hmcKPJbjvLpgyOOO6j+b6QwUhVvN5cGmQQ/V6jnE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aDbix2nrhX7+q+dyahnlQUTqkSsj6HBq1Thjy9WajrE1XEy25uojFesCS3opDL6KC 4ZOiLxBGvGJ2bkBu20wcBRPyeAkVZmpFKMc720f07KZAvnSy2SsOn0mRXBmxlJJ9/T lvdfkyR8ohMP+1bC7eWzh0VLDAJiD1wxcljAzTAk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Alexander Lobakin , "David S . Miller" , Greg Kroah-Hartman Subject: [PATCH 5.7 013/265] net: ethtool: add missing string for NETIF_F_GSO_TUNNEL_REMCSUM Date: Mon, 29 Jun 2020 11:14:06 -0400 Message-Id: <20200629151818.2493727-14-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200629151818.2493727-1-sashal@kernel.org> References: <20200629151818.2493727-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.7.7-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.7.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.7.7-rc1 X-KernelTest-Deadline: 2020-07-01T15:14+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Lobakin [ Upstream commit b4730ae6a443afe611afb4fb651c885c51003c15 ] 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 checksum offload") Signed-off-by: Alexander Lobakin Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/ethtool/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ethtool/common.c b/net/ethtool/common.c index 423e640e3876d..7f7fff88c5d3e 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] = { [NETIF_F_GSO_UDP_TUNNEL_BIT] = "tx-udp_tnl-segmentation", [NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT] = "tx-udp_tnl-csum-segmentation", [NETIF_F_GSO_PARTIAL_BIT] = "tx-gso-partial", + [NETIF_F_GSO_TUNNEL_REMCSUM_BIT] = "tx-tunnel-remcsum-segmentation", [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", -- 2.25.1