|WARNING| pw164840 [PATCH v6 06/10] net/mlx5: support selective Rx

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 2 23:49:32 CEST 2026


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#446: FILE: drivers/net/mlx5/mlx5_rx.c:1073:
+		if (seg->pool) {
[...]
 		rep = rte_mbuf_raw_alloc(seg->pool);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#455: FILE: drivers/net/mlx5/mlx5_rx.c:1099:
 		if (!pkt) {
+		if (len == 0) { /* no CQE polled yet */

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (32, 32)
#462: FILE: drivers/net/mlx5/mlx5_rx.c:1106:
+				if (seg->pool)
 				rte_mbuf_raw_free(rep);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (32, 32)
#470: FILE: drivers/net/mlx5/mlx5_rx.c:1120:
+				if (seg->pool)
 				rte_mbuf_raw_free(rep);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#496: FILE: drivers/net/mlx5/mlx5_rx.c:1145:
+		if (seg->pool) { /* real segment: replenish WQE */
+		tail = seg;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 24)
#510: FILE: drivers/net/mlx5/mlx5_rx.c:1166:
+			if (pkt)
 			++NB_SEGS(pkt);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#515: FILE: drivers/net/mlx5/mlx5_rx.c:1171:
+		if (seg->pool) { /* last segment */
 		DATA_LEN(seg) = len;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#559: FILE: drivers/net/mlx5/mlx5_rxq.c:154:
+		if (seg->mp) {
 		buf = rte_pktmbuf_alloc(seg->mp);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#716: FILE: drivers/net/mlx5/mlx5_trigger.c:166:
+		if (mp) { /* Regular segment */
+		bool is_extmem = (rte_pktmbuf_priv_flags(mp) &

total: 0 errors, 9 warnings, 0 checks, 529 lines checked


More information about the test-report mailing list