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: |WARNING| pw110597 [PATCH v3 3/5] app/testpmd: fix port status of slave device
Date: Tue,  3 May 2022 12:04:52 +0200 (CEST)	[thread overview]
Message-ID: <20220503100452.1B3EF1242DE@dpdk.org> (raw)
In-Reply-To: <20220503100217.46203-4-humin29@huawei.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/110597

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#33: 
Subject: [PATCH v3 3/5] app/testpmd: fix port status of slave device

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#60: 
Starting or stopping a bonded port also starts or stops all active slaves

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#62: 
the port status of all slaves.

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#108: FILE: app/test-pmd/testpmd.c:605:
+change_bonding_slave_port_status(portid_t bond_pid, bool is_stop)

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#110: FILE: app/test-pmd/testpmd.c:607:
+	portid_t slave_pids[RTE_MAX_ETHPORTS];

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#112: FILE: app/test-pmd/testpmd.c:609:
+	int num_slaves;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#113: FILE: app/test-pmd/testpmd.c:610:
+	portid_t slave_pid;

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#116: FILE: app/test-pmd/testpmd.c:613:
+	num_slaves = rte_eth_bond_slaves_get(bond_pid, slave_pids,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#116: FILE: app/test-pmd/testpmd.c:613:
+	num_slaves = rte_eth_bond_slaves_get(bond_pid, slave_pids,

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#116: FILE: app/test-pmd/testpmd.c:613:
+	num_slaves = rte_eth_bond_slaves_get(bond_pid, slave_pids,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#118: FILE: app/test-pmd/testpmd.c:615:
+	if (num_slaves < 0) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#119: FILE: app/test-pmd/testpmd.c:616:
+		fprintf(stderr, "Failed to get slave list for port = %u
",

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#121: FILE: app/test-pmd/testpmd.c:618:
+		return num_slaves;

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#124: FILE: app/test-pmd/testpmd.c:621:
+	for (i = 0; i < num_slaves; i++) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#125: FILE: app/test-pmd/testpmd.c:622:
+		slave_pid = slave_pids[i];

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#125: FILE: app/test-pmd/testpmd.c:622:
+		slave_pid = slave_pids[i];

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#126: FILE: app/test-pmd/testpmd.c:623:
+		port = &ports[slave_pid];

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#151: FILE: app/test-pmd/testpmd.c:646:
+		 * Starting a bonded port also starts all slaves under the bonded

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#153: FILE: app/test-pmd/testpmd.c:648:
+		 * port status of these slaves.

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#156: FILE: app/test-pmd/testpmd.c:651:
+			return change_bonding_slave_port_status(port_id, false);

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#179: FILE: app/test-pmd/testpmd.c:672:
+		 * Stopping a bonded port also stops all slaves under the bonded

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#181: FILE: app/test-pmd/testpmd.c:674:
+		 * port status of these slaves.

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#184: FILE: app/test-pmd/testpmd.c:677:
+			return change_bonding_slave_port_status(port_id, true);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#199: FILE: app/test-pmd/testpmd.h:269:
+	uint8_t                 slave_flag : 1, /**< bonding slave port */

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#199: FILE: app/test-pmd/testpmd.h:269:
+	uint8_t                 slave_flag : 1, /**< bonding slave port */

total: 0 errors, 25 warnings, 111 lines checked

           reply	other threads:[~2022-05-03 10:04 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220503100217.46203-4-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=20220503100452.1B3EF1242DE@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).