|WARNING| pw164917 [PATCH v7 06/10] net/mlx5: support selective Rx

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 3 20:46:00 CEST 2026


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#447: 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)
#456: 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)
#464: FILE: drivers/net/mlx5/mlx5_rx.c:1107:
+				if (seg->pool)
 				rte_mbuf_raw_free(rep);

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

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

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

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

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#564: 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)
#721: 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, 533 lines checked


More information about the test-report mailing list