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 C07F0A0548 for ; Fri, 24 Sep 2021 11:59:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD730412FB; Fri, 24 Sep 2021 11:59:25 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 457FD40142 for ; Fri, 24 Sep 2021 11:59:24 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 3F98912075A; Fri, 24 Sep 2021 11:59:24 +0200 (CEST) In-Reply-To: <20210924095720.64398-1-humin29@huawei.com> References: <20210924095720.64398-1-humin29@huawei.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: "Min Hu (Connor)" Message-Id: <20210924095924.3F98912075A@dpdk.org> Date: Fri, 24 Sep 2021 11:59:24 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw99564 [PATCH v3] 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/99564 _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'? #114: 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'? #114: 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'? #194: FILE: app/test-pmd/cmdline.c:6214: + struct rte_eth_bond_8023ad_slave_info slave_info; WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #194: FILE: app/test-pmd/cmdline.c:6214: + struct rte_eth_bond_8023ad_slave_info slave_info; WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #196: FILE: app/test-pmd/cmdline.c:6216: + portid_t slaves[RTE_MAX_ETHPORTS]; WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #198: FILE: app/test-pmd/cmdline.c:6218: + int num_active_slaves; WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #209: FILE: app/test-pmd/cmdline.c:6229: + num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #209: FILE: app/test-pmd/cmdline.c:6229: + num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #209: FILE: app/test-pmd/cmdline.c:6229: + num_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves, WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #211: FILE: app/test-pmd/cmdline.c:6231: + if (num_active_slaves < 0) { WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #212: FILE: app/test-pmd/cmdline.c:6232: + fprintf(stderr, " Failed to get active slave list for port = %u ", WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #216: FILE: app/test-pmd/cmdline.c:6236: + if (num_active_slaves == 0) WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #217: FILE: app/test-pmd/cmdline.c:6237: + fprintf(stderr, " IEEE802.3 port %u has no active slave ", WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #229: FILE: app/test-pmd/cmdline.c:6249: + for (i = 0; i < num_active_slaves; i++) { WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #230: FILE: app/test-pmd/cmdline.c:6250: + ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i], WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #230: FILE: app/test-pmd/cmdline.c:6250: + ret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i], WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #231: FILE: app/test-pmd/cmdline.c:6251: + &slave_info); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #233: FILE: app/test-pmd/cmdline.c:6253: + fprintf(stderr, " Get slave device %u info failed ", WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #234: FILE: app/test-pmd/cmdline.c:6254: + slaves[i]); WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'? #237: FILE: app/test-pmd/cmdline.c:6257: + printf(" Slave Port: %u ", slaves[i]); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #238: FILE: app/test-pmd/cmdline.c:6258: + lacp_slave_info_show(&slave_info); WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? #238: FILE: app/test-pmd/cmdline.c:6258: + lacp_slave_info_show(&slave_info); total: 0 errors, 23 warnings, 214 lines checked