Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1901024ybt; Sun, 21 Jun 2020 02:59:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykcAzcmAYI80T0eCzV9iYjWJwhmiSMYL9lV3sXwt06gsJCPGb2yfk3apTputP0iJWeBUww X-Received: by 2002:a17:906:7c58:: with SMTP id g24mr11828964ejp.205.1592733556579; Sun, 21 Jun 2020 02:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592733556; cv=none; d=google.com; s=arc-20160816; b=k20oqg0/O5Kl/o+4u1zwLXTa0XHDqskV12pC39bB5T1O8UB4XaIIU6JvnUpKe/fkN/ mCmgE9ccGdCCKr4Rxs1wpHbs7QvP5AXaMFehdgucHMKGZXHe3CdMCN4QGT2aPxDmZ28D v8AroK31gKcfxfbdFw/rUSvC/omPRqzqDvk7Plk2PjM+1N/1idf2qUfx3YQhNOonvvOu RYHUBiOEVTwIT3Plcbud03Y6zdoh4lzBvZPCfNn/+FwZnqLsMoBpDIkFeeeQNIEYi9fa cSODU+88ok2pgWLVpdB3Um1oxe7hUUbI1Ly6ITA5fU6rnavsbDoyGI2Z4k0CCSyqZnfn m74A== 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=4x5eYCNzPCn1hGiRUA0mGdrzZBJAKSMD6fuK9bbi8gs=; b=oDTDoPaLaJIDbFfSLyX1/pYc0MepF/fzYSv/eBFpUqACO0LMJPqGqXuQlwENORxZDs YHlTHGFqFG+j5EgDYXEDErK8TsPWhh6HfvZgrpXaPOE6yfMeLOlkrCKoQ+PCCuUxqz/c Qt7OxzNly8aFF1nL3YzaufSYPKgXU0wpEklU2ALQkQZdezuKzqhAQCYeSz49JeViSnr3 eDfJOAXI4HsEA+rYKLoi04Eb1DkWUt+U7Qy/WZoAajiO1N4ZWmeAq0TXCjyaUVHR4cpm VTNBODTpVTOVmQqaHgUQCkFS/DazcsrM2WXLEz87setN1wuIhiF2nFvdvChWOc3474UY 6zbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b="SHcM/akZ"; 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 l18si330808edv.490.2020.06.21.02.58.32; Sun, 21 Jun 2020 02:59:16 -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="SHcM/akZ"; 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 S1729727AbgFUJ4B (ORCPT + 99 others); Sun, 21 Jun 2020 05:56:01 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:36194 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729573AbgFUJ4A (ORCPT ); Sun, 21 Jun 2020 05:56:00 -0400 Date: Sun, 21 Jun 2020 09:55:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592733358; bh=4x5eYCNzPCn1hGiRUA0mGdrzZBJAKSMD6fuK9bbi8gs=; h=Date:To:From:Cc:Reply-To:Subject:From; b=SHcM/akZ6jU8Rc1wYNuBrFencBhtyVevqKROnLYW9gNudfjSmM99t2J+8dcP5c3/S 38V+Whpxl+pHeNwhwo5hhvnHy24o2/a+2BIcl/racfWFjKgrtuKfAhCKwCDXVA4eOT g52PBCXWktyJawCTKLu9yao7G7Wo+ASzFPdkibsxd4RYsCgALD2Mgw5ZkyGXOjxqJX pa3DfU5wT0kAi6Qn5pWrrUOA06DY8DyI9JGD4p8K0AcJq4Z4DobZyzR1YjV/ede+hB AT5XtwPZZYWw9Mimf3gLP8/NsYo626Al49CrB7IPoH0xrVv27PTI62OHbQrAwJQIKM kxTezvumuiCEw== 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 0/3] net: ethtool: netdev_features_strings[] cleanup 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 This little series adds the last forgotten feature string for NETIF_F_GSO_TUNNEL_REMCSUM and attempts to prevent such losses in future. Patches 2-3 seem more like net-next candidates rather than net-fixes, but for me it seems a bit more suitable to pull it during "quiet" RC windows, so any new related code could start from this base. I was thinking about some kind of static assertion to have an early prevention mechanism for this, but the existing of 2 intended holes (former NO_CSUM and UFO) makes this problematic, at least at first sight. v2: - fix the "Fixes:" tag in the first patch; - no functional changes. Alexander Lobakin (3): net: ethtool: add missing string for NETIF_F_GSO_TUNNEL_REMCSUM net: ethtool: fix indentation of netdev_features_strings net: ethtool: sync netdev_features_strings order with enum netdev_features net/ethtool/common.c | 133 ++++++++++++++++++++++++------------------- 1 file changed, 74 insertions(+), 59 deletions(-) --=20 2.27.0