|WARNING| pw164830 [PATCH v5 06/10] net/mlx5: support selective Rx

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 2 23:40:15 CEST 2026


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

_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)
#463: 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)
#471: 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)
#497: 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)
#511: 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)
#516: 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)
#560: 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)
#717: 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