Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1901433ybt; Sun, 21 Jun 2020 03:00:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwleRBv1C3S9/MSjc9gzl3wGYz6E0rwBG53zkKo4nL9pZMiHcht7+nsaux40jbYm3LeYck X-Received: by 2002:a17:906:940d:: with SMTP id q13mr11255816ejx.534.1592733612022; Sun, 21 Jun 2020 03:00:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592733612; cv=none; d=google.com; s=arc-20160816; b=IYOQ7xtfRPVAsSHsiuL8C88Qqbn/Pf6Xgs+z3YJnZXVZ87xb0gEeQdhb73YokAfvtA rNnoP4AZwI/yAjsj/cno1CWRwm/slI94QMEOa5COMpe+i3tCR95vTeGiHQHUxhWnMXKt 6slixLl9LGoxgKd07E129mz8suB9HNDEIao+xOKJ1V4u7LvLecQVXP9G/OUU8RVgg7WV mzHbRuwRkJanPM7lBwMi2rbsL4a1kwYnyBou9pvoRaixpO8HaBZ6wM44Z3FQhhGO6gsf 5FOO+LXhWaGcUhxJstG4CJX8B6q4TRx43CBFxQUitpA9JH9pa5+AtqklHC/xI056qXin FTwA== 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=+6q9jCMs1YMxn+QrQJ+ZC1L8yFHVEKZ59NR+XfU2XrA=; b=I+XHJBLiZKy/MuMbCnmDftuXXIDoitlNxMuTyMS0bQRFyWkU6eHFtyrQfVogkAU98z GwXH8fDSWIxtIfgoNyozJuNaYtr9uFUsSQLenE47SUm4UDADTYSjYHBpw9tapUmcH+TZ /RF0I0FMS7jNaJWw6CCAKmvNWCfDvv2fjaZGgV7XaZE/CsGEOGACekjt+91nLWrNQLOC GMZx3yy53NsXe8aEjLeXPRvI6230XsJNWpHM1hoZbgVT92VwdrTjXDaooHPk4eWoiG3t LPCdaWwmGot7vzycdUmVh77zpKR+oVBJhAjdezsGFSww4ftDAU7wOURLjcTiKkzda5Yc yR5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=glTVzUR0; 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 l13si7015523ejx.63.2020.06.21.02.59.49; Sun, 21 Jun 2020 03:00:12 -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=glTVzUR0; 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 S1729792AbgFUJ5F (ORCPT + 99 others); Sun, 21 Jun 2020 05:57:05 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:39919 "EHLO mail-40134.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729749AbgFUJ5E (ORCPT ); Sun, 21 Jun 2020 05:57:04 -0400 Date: Sun, 21 Jun 2020 09:56:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592733421; bh=+6q9jCMs1YMxn+QrQJ+ZC1L8yFHVEKZ59NR+XfU2XrA=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=glTVzUR0/PucmFG6kE0xW+y48+DxJuHwM4mPxpfPAasX5sFVm1z+0PG+KdaBb/OrB PAWYC/BTfKPNGhpx5laV3fzBMkeUPD6uaVUBp5POtAJyN+GZzo5uGcjFkHhFggnYTL rq+9ao6FythAmhDu+vR5L20R349FVxN3AAvX6Ey1j0rhhaeKM9g5Y0Cs164Unp3H1C E983je9M+hH6vcu6rbksD3v6WNpobH+HCAbU/y02YzwnFzPKQOhjsT6rwlGaB4D4vH OY6MdvY/lBwK6TZCT6MlrUJl7DtTYZCBzOkBllCzpaqjDMfS6Ly73AhwXqo9sKHNSJ Ua67cHWkNeT2w== 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 2/3] net: ethtool: fix indentation of netdev_features_strings 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 The current indentation is an absolute mess of tabs, spaces and their mixes in different proportions. Convert it all to plain tabs and move assignment operation char to the right, which is the most commonly used style in Linux code. Signed-off-by: Alexander Lobakin --- net/ethtool/common.c | 120 +++++++++++++++++++++---------------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/net/ethtool/common.c b/net/ethtool/common.c index aaecfc916a4d..c8e3fce6e48d 100644 --- a/net/ethtool/common.c +++ b/net/ethtool/common.c @@ -6,66 +6,66 @@ #include "common.h" =20 const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = =3D { -=09[NETIF_F_SG_BIT] =3D "tx-scatter-gather", -=09[NETIF_F_IP_CSUM_BIT] =3D "tx-checksum-ipv4", -=09[NETIF_F_HW_CSUM_BIT] =3D "tx-checksum-ip-generic", -=09[NETIF_F_IPV6_CSUM_BIT] =3D "tx-checksum-ipv6", -=09[NETIF_F_HIGHDMA_BIT] =3D "highdma", -=09[NETIF_F_FRAGLIST_BIT] =3D "tx-scatter-gather-fraglist", -=09[NETIF_F_HW_VLAN_CTAG_TX_BIT] =3D "tx-vlan-hw-insert", - -=09[NETIF_F_HW_VLAN_CTAG_RX_BIT] =3D "rx-vlan-hw-parse", -=09[NETIF_F_HW_VLAN_CTAG_FILTER_BIT] =3D "rx-vlan-filter", -=09[NETIF_F_HW_VLAN_STAG_TX_BIT] =3D "tx-vlan-stag-hw-insert", -=09[NETIF_F_HW_VLAN_STAG_RX_BIT] =3D "rx-vlan-stag-hw-parse", -=09[NETIF_F_HW_VLAN_STAG_FILTER_BIT] =3D "rx-vlan-stag-filter", -=09[NETIF_F_VLAN_CHALLENGED_BIT] =3D "vlan-challenged", -=09[NETIF_F_GSO_BIT] =3D "tx-generic-segmentation", -=09[NETIF_F_LLTX_BIT] =3D "tx-lockless", -=09[NETIF_F_NETNS_LOCAL_BIT] =3D "netns-local", -=09[NETIF_F_GRO_BIT] =3D "rx-gro", -=09[NETIF_F_GRO_HW_BIT] =3D "rx-gro-hw", -=09[NETIF_F_LRO_BIT] =3D "rx-lro", - -=09[NETIF_F_TSO_BIT] =3D "tx-tcp-segmentation", -=09[NETIF_F_GSO_ROBUST_BIT] =3D "tx-gso-robust", -=09[NETIF_F_TSO_ECN_BIT] =3D "tx-tcp-ecn-segmentation", -=09[NETIF_F_TSO_MANGLEID_BIT] =3D=09 "tx-tcp-mangleid-segmentation", -=09[NETIF_F_TSO6_BIT] =3D "tx-tcp6-segmentation", -=09[NETIF_F_FSO_BIT] =3D "tx-fcoe-segmentation", -=09[NETIF_F_GSO_GRE_BIT] =3D=09=09 "tx-gre-segmentation", -=09[NETIF_F_GSO_GRE_CSUM_BIT] =3D=09 "tx-gre-csum-segmentation", -=09[NETIF_F_GSO_IPXIP4_BIT] =3D=09 "tx-ipxip4-segmentation", -=09[NETIF_F_GSO_IPXIP6_BIT] =3D=09 "tx-ipxip6-segmentation", -=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", -=09[NETIF_F_GSO_FRAGLIST_BIT] =3D=09 "tx-gso-list", - -=09[NETIF_F_FCOE_CRC_BIT] =3D "tx-checksum-fcoe-crc", -=09[NETIF_F_SCTP_CRC_BIT] =3D "tx-checksum-sctp", -=09[NETIF_F_FCOE_MTU_BIT] =3D "fcoe-mtu", -=09[NETIF_F_NTUPLE_BIT] =3D "rx-ntuple-filter", -=09[NETIF_F_RXHASH_BIT] =3D "rx-hashing", -=09[NETIF_F_RXCSUM_BIT] =3D "rx-checksum", -=09[NETIF_F_NOCACHE_COPY_BIT] =3D "tx-nocache-copy", -=09[NETIF_F_LOOPBACK_BIT] =3D "loopback", -=09[NETIF_F_RXFCS_BIT] =3D "rx-fcs", -=09[NETIF_F_RXALL_BIT] =3D "rx-all", -=09[NETIF_F_HW_L2FW_DOFFLOAD_BIT] =3D "l2-fwd-offload", -=09[NETIF_F_HW_TC_BIT] =3D=09=09 "hw-tc-offload", -=09[NETIF_F_HW_ESP_BIT] =3D=09=09 "esp-hw-offload", -=09[NETIF_F_HW_ESP_TX_CSUM_BIT] =3D=09 "esp-tx-csum-hw-offload", -=09[NETIF_F_RX_UDP_TUNNEL_PORT_BIT] =3D=09 "rx-udp_tunnel-port-offload", -=09[NETIF_F_HW_TLS_RECORD_BIT] =3D=09"tls-hw-record", -=09[NETIF_F_HW_TLS_TX_BIT] =3D=09 "tls-hw-tx-offload", -=09[NETIF_F_HW_TLS_RX_BIT] =3D=09 "tls-hw-rx-offload", -=09[NETIF_F_GRO_FRAGLIST_BIT] =3D=09 "rx-gro-list", -=09[NETIF_F_HW_MACSEC_BIT] =3D=09 "macsec-hw-offload", +=09[NETIF_F_SG_BIT]=09=09=09=3D "tx-scatter-gather", +=09[NETIF_F_IP_CSUM_BIT]=09=09=09=3D "tx-checksum-ipv4", +=09[NETIF_F_HW_CSUM_BIT]=09=09=09=3D "tx-checksum-ip-generic", +=09[NETIF_F_IPV6_CSUM_BIT]=09=09=09=3D "tx-checksum-ipv6", +=09[NETIF_F_HIGHDMA_BIT]=09=09=09=3D "highdma", +=09[NETIF_F_FRAGLIST_BIT]=09=09=09=3D "tx-scatter-gather-fraglist", +=09[NETIF_F_HW_VLAN_CTAG_TX_BIT]=09=09=3D "tx-vlan-hw-insert", + +=09[NETIF_F_HW_VLAN_CTAG_RX_BIT]=09=09=3D "rx-vlan-hw-parse", +=09[NETIF_F_HW_VLAN_CTAG_FILTER_BIT]=09=3D "rx-vlan-filter", +=09[NETIF_F_HW_VLAN_STAG_TX_BIT]=09=09=3D "tx-vlan-stag-hw-insert", +=09[NETIF_F_HW_VLAN_STAG_RX_BIT]=09=09=3D "rx-vlan-stag-hw-parse", +=09[NETIF_F_HW_VLAN_STAG_FILTER_BIT]=09=3D "rx-vlan-stag-filter", +=09[NETIF_F_VLAN_CHALLENGED_BIT]=09=09=3D "vlan-challenged", +=09[NETIF_F_GSO_BIT]=09=09=09=3D "tx-generic-segmentation", +=09[NETIF_F_LLTX_BIT]=09=09=09=3D "tx-lockless", +=09[NETIF_F_NETNS_LOCAL_BIT]=09=09=3D "netns-local", +=09[NETIF_F_GRO_BIT]=09=09=09=3D "rx-gro", +=09[NETIF_F_GRO_HW_BIT]=09=09=09=3D "rx-gro-hw", +=09[NETIF_F_LRO_BIT]=09=09=09=3D "rx-lro", + +=09[NETIF_F_TSO_BIT]=09=09=09=3D "tx-tcp-segmentation", +=09[NETIF_F_GSO_ROBUST_BIT]=09=09=3D "tx-gso-robust", +=09[NETIF_F_TSO_ECN_BIT]=09=09=09=3D "tx-tcp-ecn-segmentation", +=09[NETIF_F_TSO_MANGLEID_BIT]=09=09=3D "tx-tcp-mangleid-segmentation", +=09[NETIF_F_TSO6_BIT]=09=09=09=3D "tx-tcp6-segmentation", +=09[NETIF_F_FSO_BIT]=09=09=09=3D "tx-fcoe-segmentation", +=09[NETIF_F_GSO_GRE_BIT]=09=09=09=3D "tx-gre-segmentation", +=09[NETIF_F_GSO_GRE_CSUM_BIT]=09=09=3D "tx-gre-csum-segmentation", +=09[NETIF_F_GSO_IPXIP4_BIT]=09=09=3D "tx-ipxip4-segmentation", +=09[NETIF_F_GSO_IPXIP6_BIT]=09=09=3D "tx-ipxip6-segmentation", +=09[NETIF_F_GSO_UDP_TUNNEL_BIT]=09=09=3D "tx-udp_tnl-segmentation", +=09[NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT]=09=3D "tx-udp_tnl-csum-segmentation", +=09[NETIF_F_GSO_PARTIAL_BIT]=09=09=3D "tx-gso-partial", +=09[NETIF_F_GSO_TUNNEL_REMCSUM_BIT]=09=3D "tx-tunnel-remcsum-segmentation"= , +=09[NETIF_F_GSO_SCTP_BIT]=09=09=09=3D "tx-sctp-segmentation", +=09[NETIF_F_GSO_ESP_BIT]=09=09=09=3D "tx-esp-segmentation", +=09[NETIF_F_GSO_UDP_L4_BIT]=09=09=3D "tx-udp-segmentation", +=09[NETIF_F_GSO_FRAGLIST_BIT]=09=09=3D "tx-gso-list", + +=09[NETIF_F_FCOE_CRC_BIT]=09=09=09=3D "tx-checksum-fcoe-crc", +=09[NETIF_F_SCTP_CRC_BIT]=09=09=09=3D "tx-checksum-sctp", +=09[NETIF_F_FCOE_MTU_BIT]=09=09=09=3D "fcoe-mtu", +=09[NETIF_F_NTUPLE_BIT]=09=09=09=3D "rx-ntuple-filter", +=09[NETIF_F_RXHASH_BIT]=09=09=09=3D "rx-hashing", +=09[NETIF_F_RXCSUM_BIT]=09=09=09=3D "rx-checksum", +=09[NETIF_F_NOCACHE_COPY_BIT]=09=09=3D "tx-nocache-copy", +=09[NETIF_F_LOOPBACK_BIT]=09=09=09=3D "loopback", +=09[NETIF_F_RXFCS_BIT]=09=09=09=3D "rx-fcs", +=09[NETIF_F_RXALL_BIT]=09=09=09=3D "rx-all", +=09[NETIF_F_HW_L2FW_DOFFLOAD_BIT]=09=09=3D "l2-fwd-offload", +=09[NETIF_F_HW_TC_BIT]=09=09=09=3D "hw-tc-offload", +=09[NETIF_F_HW_ESP_BIT]=09=09=09=3D "esp-hw-offload", +=09[NETIF_F_HW_ESP_TX_CSUM_BIT]=09=09=3D "esp-tx-csum-hw-offload", +=09[NETIF_F_RX_UDP_TUNNEL_PORT_BIT]=09=3D "rx-udp_tunnel-port-offload", +=09[NETIF_F_HW_TLS_RECORD_BIT]=09=09=3D "tls-hw-record", +=09[NETIF_F_HW_TLS_TX_BIT]=09=09=09=3D "tls-hw-tx-offload", +=09[NETIF_F_HW_TLS_RX_BIT]=09=09=09=3D "tls-hw-rx-offload", +=09[NETIF_F_GRO_FRAGLIST_BIT]=09=09=3D "rx-gro-list", +=09[NETIF_F_HW_MACSEC_BIT]=09=09=09=3D "macsec-hw-offload", }; =20 const char --=20 2.27.0