* [dpdk-test-report] |WARNING| pw99564 [PATCH v3] app/testpmd: add cmdline to show LACP bonding info
[not found] <20210924095720.64398-1-humin29@huawei.com>
@ 2021-09-24 9:59 ` checkpatch
2021-09-28 2:39 ` [dpdk-test-report] |SUCCESS| pw99564 [dpdk-dev] " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-09-24 9:59 UTC (permalink / raw)
To: test-report; +Cc: Min Hu (Connor)
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
^ permalink raw reply [flat|nested] 2+ messages in thread