From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: "Min Hu (Connor)" <humin29@huawei.com>
Subject: [dpdk-test-report] |WARNING| pw99564 [PATCH v3] app/testpmd: add cmdline to show LACP bonding info
Date: Fri, 24 Sep 2021 11:59:24 +0200 (CEST) [thread overview]
Message-ID: <20210924095924.3F98912075A@dpdk.org> (raw)
In-Reply-To: <20210924095720.64398-1-humin29@huawei.com>
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
next parent reply other threads:[~2021-09-24 9:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210924095720.64398-1-humin29@huawei.com>
2021-09-24 9:59 ` checkpatch [this message]
2021-09-28 2:39 ` [dpdk-test-report] |SUCCESS| pw99564 [dpdk-dev] " 0-day Robot
2021-10-06 11:53 [dpdk-test-report] |WARNING| pw99564 [PATCH] [v3] " dpdklab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210924095924.3F98912075A@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=humin29@huawei.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).