|WARNING| pw164568 [PATCH v4 06/10] net/mlx5: support selective Rx

checkpatch at dpdk.org checkpatch at dpdk.org
Fri May 29 15:36:18 CEST 2026


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

_coding style issues_


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

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

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#475: FILE: drivers/net/mlx5/mlx5_rx.c:1140:
+		if (seg->pool) {
+		tail = seg;

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

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 16)
#526: 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)
#683: FILE: drivers/net/mlx5/mlx5_trigger.c:166:
+		if (mp) { /* Regular segment */
+		bool is_extmem = (rte_pktmbuf_priv_flags(mp) &

total: 0 errors, 7 warnings, 0 checks, 495 lines checked


More information about the test-report mailing list