|WARNING| pw162964 [PATCH v3] mempool: improve cache behaviour and performance

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 9 13:05:51 CEST 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'WAN' may be misspelled - perhaps 'WANT'?
#118: 
With a real WAN Optimization application, where the number of allocated
            ^^^

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#332: FILE: drivers/net/intel/idpf/idpf_common_rxtx_avx512.c:154:
+		if (unlikely(IDPF_RXQ_REARM_THRESH > cache->size / 2)) {

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#376: FILE: drivers/net/intel/idpf/idpf_common_rxtx_avx512.c:588:
+		if (unlikely(IDPF_RXQ_REARM_THRESH > cache->size / 2)) {

ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#510: FILE: lib/mempool/rte_mempool.h:1387:
+rte_mempool_do_generic_put(struct rte_mempool *mp, void * const * __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#575: FILE: lib/mempool/rte_mempool.h:1455:
+rte_mempool_generic_put(struct rte_mempool *mp, void * const * __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo * const * bar" should be "foo * const *bar"
#584: FILE: lib/mempool/rte_mempool.h:1478:
+rte_mempool_put_bulk(struct rte_mempool *mp, void * const * __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#593: FILE: lib/mempool/rte_mempool.h:1520:
+rte_mempool_do_generic_get(struct rte_mempool *mp, void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#646: FILE: lib/mempool/rte_mempool.h:1643:
+rte_mempool_generic_get(struct rte_mempool *mp, void ** __rte_restrict obj_table,

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#655: FILE: lib/mempool/rte_mempool.h:1677:
+rte_mempool_get_bulk(struct rte_mempool *mp, void ** __rte_restrict obj_table, unsigned int n)

ERROR:POINTER_LOCATION: "foo ** bar" should be "foo **bar"
#664: FILE: lib/mempool/rte_mempool.h:1706:
+rte_mempool_get(struct rte_mempool *mp, void ** __rte_restrict obj_p)

total: 7 errors, 3 warnings, 448 lines checked


More information about the test-report mailing list