From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5D6BDA0548 for ; Fri, 24 Sep 2021 11:50:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4EAEE4122D; Fri, 24 Sep 2021 11:50:58 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 21DD040142 for ; Fri, 24 Sep 2021 11:50:56 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 02F1A12075A; Fri, 24 Sep 2021 11:50:55 +0200 (CEST) In-Reply-To: <20210924094803.50392-1-humin29@huawei.com> References: <20210924094803.50392-1-humin29@huawei.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: "Min Hu (Connor)" Message-Id: <20210924095056.02F1A12075A@dpdk.org> Date: Fri, 24 Sep 2021 11:50:55 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw99560 [PATCH v2] app/testpmd: add cmdline to show LACP bonding info X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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/99560 _coding style issues_ WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #59: Show the lacp information about the bonded device and its slaves: WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #108: FILE: app/test-pmd/cmdline.c:6134: +static void lacp_slave_info_show(struct rte_eth_bond_8023ad_slave_info *info) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #108: FILE: app/test-pmd/cmdline.c:6134: +static void lacp_slave_info_show(struct rte_eth_bond_8023ad_slave_info *info) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #181: FILE: app/test-pmd/cmdline.c:6207: + struct rte_eth_bond_8023ad_slave_info slave_info; WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #181: FILE: app/test-pmd/cmdline.c:6207: + struct rte_eth_bond_8023ad_slave_info slave_info; WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #183: FILE: app/test-pmd/cmdline.c:6209: + portid_t slaves[RTE_MAX_ETHPORTS]; WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #185: FILE: app/test-pmd/cmdline.c:6211: + int num_active_slaves; WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #196: FILE: app/test-pmd/cmdline.c:6222: + num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #196: FILE: app/test-pmd/cmdline.c:6222: + num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #196: FILE: app/test-pmd/cmdline.c:6222: + num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #198: FILE: app/test-pmd/cmdline.c:6224: + if (num_active_slaves < 0) { WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #199: FILE: app/test-pmd/cmdline.c:6225: + printf(" Failed to get active slave list for port = %u ", WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #203: FILE: app/test-pmd/cmdline.c:6229: + if (num_active_slaves == 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #204: FILE: app/test-pmd/cmdline.c:6230: + printf(" IEEE802.3 port %u has no active slave ", port_id); WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #214: FILE: app/test-pmd/cmdline.c:6240: + for (i = 0; i < num_active_slaves; i++) { WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #215: FILE: app/test-pmd/cmdline.c:6241: + ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i], WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #215: FILE: app/test-pmd/cmdline.c:6241: + ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i], WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #216: FILE: app/test-pmd/cmdline.c:6242: + &slave_info); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #218: FILE: app/test-pmd/cmdline.c:6244: + printf(" Get slave device %u info failed ", WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #219: FILE: app/test-pmd/cmdline.c:6245: + slaves[i]); WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #222: FILE: app/test-pmd/cmdline.c:6248: + printf(" Slave Port: %u ", slaves[i]); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #223: FILE: app/test-pmd/cmdline.c:6249: + lacp_slave_info_show(&slave_info); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #223: FILE: app/test-pmd/cmdline.c:6249: + lacp_slave_info_show(&slave_info); total: 0 errors, 23 warnings, 205 lines checked