|WARNING| pw124035 [PATCH 1/2] net/bonding: add independent LACP sending function

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 16 08:15:57 CET 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#174: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1783:
+	uint16_t slave_tx_count;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#175: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1784:
+	uint16_t active_slave_count;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#176: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1785:
+	uint16_t active_slave_ids[RTE_MAX_ETHPORTS];

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#180: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1789:
+	active_slave_count = internals->active_slave_count;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#180: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1789:
+	active_slave_count = internals->active_slave_count;

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#181: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1790:
+	if (unlikely(active_slave_count == 0))

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#184: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1793:
+	rte_memcpy(active_slave_ids, internals->active_slaves,

WARNING:TYPO_SPELLING: 'slaves' may be misspelled - perhaps 'secondaries'?
#184: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1793:
+	rte_memcpy(active_slave_ids, internals->active_slaves,

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#185: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1794:
+		sizeof(active_slave_ids[0]) * active_slave_count);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#185: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1794:
+		sizeof(active_slave_ids[0]) * active_slave_count);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#188: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1797:
+	for (i = 0; i < active_slave_count; i++) {

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#190: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1799:
+		struct port *port = &bond_mode_8023ad_ports[active_slave_ids[i]];

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#196: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1805:
+			slave_tx_count = rte_eth_tx_prepare(active_slave_ids[i],

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#196: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1805:
+			slave_tx_count = rte_eth_tx_prepare(active_slave_ids[i],

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#198: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1807:
+			slave_tx_count = rte_eth_tx_burst(active_slave_ids[i],

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#198: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1807:
+			slave_tx_count = rte_eth_tx_burst(active_slave_ids[i],

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#199: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1808:
+					bd_tx_q->queue_id, &ctrl_pkt, slave_tx_count);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#204: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1813:
+			if (slave_tx_count != 1)

total: 0 errors, 18 warnings, 0 checks, 84 lines checked


More information about the test-report mailing list