|WARNING| pw108874 [PATCH v6] net/bonding: another fix to LACP mempool size

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 25 14:35:23 CET 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#60: 
The following log message may appear after a slave is idle(or nearly

WARNING:TYPO_SPELLING: 'chosed' may be misspelled - perhaps 'chose'?
#65: 
Problem:When bond mode 4 has been chosed and delicated queue has

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#66: 
not been enable, all mbufs from a slave' private pool(used

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#72: 
Solution: Ensure that each slave'tx (LACPDU) mempool owns more than

WARNING:TYPO_SPELLING: 'fuction' may be misspelled - perhaps 'function'?
#76: 
Note that the LACP tx machine fuction is the only code that allocates

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#77: 
from a slave's private pool. It runs in the context of the interrupt

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#122: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1105:
+ * CACHE_FLUSHTHRESH_MULTIPLIER already defined in rte_mempool.c */

WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#126: FILE: drivers/net/bonding/rte_eth_bond_8023ad.c:1109:
+	total_tx_desc += rte_lcore_count() * cache_size * BONDING_8023AD_CACHE_FLUSHTHRESH_MULTIPLIER;

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#145: FILE: lib/mempool/rte_mempool.c:59:
+ * BONDING_8023AD_CACHE_FLUSHTHRESH_MULTIPLIER in rte_eth_bond_8023ad.c */

WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Gaoxiang Liu <gaoxiangliu0 at 163.com>' != 'Signed-off-by: Gaoxiang Liu <liugaoxiang at huawei.com>'

total: 0 errors, 10 warnings, 33 lines checked


More information about the test-report mailing list