|WARNING| pw162963 [PATCH v2] mempool: improve cache behaviour and performance
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Apr 9 12:25:29 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/162963
_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
#330: 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
#374: 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"
#508: 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"
#573: 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"
#582: 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"
#591: 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"
#644: 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"
#653: 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"
#662: 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