automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: "Min Hu (Connor)" <humin29@huawei.com>
Subject: [dpdk-test-report] |WARNING| pw99560 [PATCH v2] app/testpmd: add cmdline to show LACP bonding info
Date: Fri, 24 Sep 2021 11:50:55 +0200 (CEST)	[thread overview]
Message-ID: <20210924095056.02F1A12075A@dpdk.org> (raw)
In-Reply-To: <20210924094803.50392-1-humin29@huawei.com>

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

           reply	other threads:[~2021-09-24  9:50 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20210924094803.50392-1-humin29@huawei.com>]

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=20210924095056.02F1A12075A@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).