From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 48BA6A0517 for ; Wed, 10 Jun 2020 11:34:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5BD0C397D; Wed, 10 Jun 2020 11:34:22 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id AF12C2E81; Wed, 10 Jun 2020 11:34:21 +0200 (CEST) In-Reply-To: <20200610093233.23902-5-ophirmu@mellanox.com> References: <20200610093233.23902-5-ophirmu@mellanox.com> To: test-report@dpdk.org Cc: Ophir Munk Message-Id: <20200610093421.AF12C2E81@dpdk.org> Date: Wed, 10 Jun 2020 11:34:21 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw71125 [PATCH v1 4/8] net/mlx5: split mlx5 ethdev under Linux directory X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/71125 _coding style issues_ CHECK:CAMELCASE: Avoid CamelCase: #202: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:47: +#ifndef HAVE_SUPPORTED_40000baseKR4_Full CHECK:CAMELCASE: Avoid CamelCase: #203: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:48: +#define SUPPORTED_40000baseKR4_Full (1 << 23) CHECK:CAMELCASE: Avoid CamelCase: #205: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:50: +#ifndef HAVE_SUPPORTED_40000baseCR4_Full CHECK:CAMELCASE: Avoid CamelCase: #206: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:51: +#define SUPPORTED_40000baseCR4_Full (1 << 24) CHECK:CAMELCASE: Avoid CamelCase: #208: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:53: +#ifndef HAVE_SUPPORTED_40000baseSR4_Full CHECK:CAMELCASE: Avoid CamelCase: #209: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:54: +#define SUPPORTED_40000baseSR4_Full (1 << 25) CHECK:CAMELCASE: Avoid CamelCase: #211: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:56: +#ifndef HAVE_SUPPORTED_40000baseLR4_Full CHECK:CAMELCASE: Avoid CamelCase: #212: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:57: +#define SUPPORTED_40000baseLR4_Full (1 << 26) CHECK:CAMELCASE: Avoid CamelCase: #214: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:59: +#ifndef HAVE_SUPPORTED_56000baseKR4_Full CHECK:CAMELCASE: Avoid CamelCase: #215: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:60: +#define SUPPORTED_56000baseKR4_Full (1 << 27) CHECK:CAMELCASE: Avoid CamelCase: #217: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:62: +#ifndef HAVE_SUPPORTED_56000baseCR4_Full CHECK:CAMELCASE: Avoid CamelCase: #218: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:63: +#define SUPPORTED_56000baseCR4_Full (1 << 28) CHECK:CAMELCASE: Avoid CamelCase: #220: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:65: +#ifndef HAVE_SUPPORTED_56000baseSR4_Full CHECK:CAMELCASE: Avoid CamelCase: #221: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:66: +#define SUPPORTED_56000baseSR4_Full (1 << 29) CHECK:CAMELCASE: Avoid CamelCase: #223: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:68: +#ifndef HAVE_SUPPORTED_56000baseLR4_Full CHECK:CAMELCASE: Avoid CamelCase: #224: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:69: +#define SUPPORTED_56000baseLR4_Full (1 << 30) CHECK:CAMELCASE: Avoid CamelCase: #246: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:91: +#define ETHTOOL_LINK_MODE_1000baseT_Full_BIT 5 CHECK:CAMELCASE: Avoid CamelCase: #247: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:92: +#define ETHTOOL_LINK_MODE_Autoneg_BIT 6 CHECK:CAMELCASE: Avoid CamelCase: #248: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:93: +#define ETHTOOL_LINK_MODE_1000baseKX_Full_BIT 17 CHECK:CAMELCASE: Avoid CamelCase: #249: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:94: +#define ETHTOOL_LINK_MODE_10000baseKX4_Full_BIT 18 CHECK:CAMELCASE: Avoid CamelCase: #250: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:95: +#define ETHTOOL_LINK_MODE_10000baseKR_Full_BIT 19 CHECK:CAMELCASE: Avoid CamelCase: #251: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:96: +#define ETHTOOL_LINK_MODE_10000baseR_FEC_BIT 20 CHECK:CAMELCASE: Avoid CamelCase: #252: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:97: +#define ETHTOOL_LINK_MODE_20000baseMLD2_Full_BIT 21 CHECK:CAMELCASE: Avoid CamelCase: #253: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:98: +#define ETHTOOL_LINK_MODE_20000baseKR2_Full_BIT 22 CHECK:CAMELCASE: Avoid CamelCase: #254: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:99: +#define ETHTOOL_LINK_MODE_40000baseKR4_Full_BIT 23 CHECK:CAMELCASE: Avoid CamelCase: #255: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:100: +#define ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT 24 CHECK:CAMELCASE: Avoid CamelCase: #256: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:101: +#define ETHTOOL_LINK_MODE_40000baseSR4_Full_BIT 25 CHECK:CAMELCASE: Avoid CamelCase: #257: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:102: +#define ETHTOOL_LINK_MODE_40000baseLR4_Full_BIT 26 CHECK:CAMELCASE: Avoid CamelCase: #258: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:103: +#define ETHTOOL_LINK_MODE_56000baseKR4_Full_BIT 27 CHECK:CAMELCASE: Avoid CamelCase: #259: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:104: +#define ETHTOOL_LINK_MODE_56000baseCR4_Full_BIT 28 CHECK:CAMELCASE: Avoid CamelCase: #260: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:105: +#define ETHTOOL_LINK_MODE_56000baseSR4_Full_BIT 29 CHECK:CAMELCASE: Avoid CamelCase: #261: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:106: +#define ETHTOOL_LINK_MODE_56000baseLR4_Full_BIT 30 CHECK:CAMELCASE: Avoid CamelCase: #264: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:109: +#define ETHTOOL_LINK_MODE_25000baseCR_Full_BIT 31 CHECK:CAMELCASE: Avoid CamelCase: #265: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:110: +#define ETHTOOL_LINK_MODE_25000baseKR_Full_BIT 32 CHECK:CAMELCASE: Avoid CamelCase: #266: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:111: +#define ETHTOOL_LINK_MODE_25000baseSR_Full_BIT 33 CHECK:CAMELCASE: Avoid CamelCase: #269: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:114: +#define ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT 34 CHECK:CAMELCASE: Avoid CamelCase: #270: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:115: +#define ETHTOOL_LINK_MODE_50000baseKR2_Full_BIT 35 CHECK:CAMELCASE: Avoid CamelCase: #273: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:118: +#define ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT 36 CHECK:CAMELCASE: Avoid CamelCase: #274: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:119: +#define ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT 37 CHECK:CAMELCASE: Avoid CamelCase: #275: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:120: +#define ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT 38 CHECK:CAMELCASE: Avoid CamelCase: #276: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:121: +#define ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT 39 CHECK:CAMELCASE: Avoid CamelCase: #279: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:124: +#define ETHTOOL_LINK_MODE_200000baseKR4_Full_BIT 62 CHECK:CAMELCASE: Avoid CamelCase: #280: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:125: +#define ETHTOOL_LINK_MODE_200000baseSR4_Full_BIT 63 CHECK:CAMELCASE: Avoid CamelCase: #281: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:126: +#define ETHTOOL_LINK_MODE_200000baseLR4_ER4_FR4_Full_BIT 0 /* 64 - 64 */ CHECK:CAMELCASE: Avoid CamelCase: #282: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:127: +#define ETHTOOL_LINK_MODE_200000baseDR4_Full_BIT 1 /* 65 - 64 */ CHECK:CAMELCASE: Avoid CamelCase: #283: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:128: +#define ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT 2 /* 66 - 64 */ CHECK:CAMELCASE: Avoid CamelCase: #648: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:493: + if (edata.supported & SUPPORTED_Autoneg) CHECK:CAMELCASE: Avoid CamelCase: #650: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:495: + if (edata.supported & (SUPPORTED_1000baseT_Full | CHECK:CAMELCASE: Avoid CamelCase: #651: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:496: + SUPPORTED_1000baseKX_Full)) CHECK:CAMELCASE: Avoid CamelCase: #653: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:498: + if (edata.supported & SUPPORTED_10000baseKR_Full) CHECK:CAMELCASE: Avoid CamelCase: #1269: FILE: drivers/net/mlx5/linux/mlx5_ethdev_os.c:1114: + fscanf(file, "%" SCNx64 "%c", &data.switch_id, &c) == 2 && total: 0 errors, 0 warnings, 51 checks, 2646 lines checked