|WARNING| pw152899 [RFC 09/13] ethdev: add port mirror capability

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Apr 12 01:50:38 CEST 2025


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

_coding style issues_


WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#284: FILE: lib/ethdev/rte_ethdev.c:7125:
+			rte_atomic_store_explicit(&dev->data->rx_mirror, mirror, rte_memory_order_relaxed);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#286: FILE: lib/ethdev/rte_ethdev.c:7127:
+			rte_atomic_store_explicit(&dev->data->tx_mirror, mirror, rte_memory_order_relaxed);

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#522: FILE: lib/ethdev/rte_ethdev_core.h:105:
+	RTE_ATOMIC(struct rte_eth_mirror *) *rx_mirror;
 	                                    ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#531: FILE: lib/ethdev/rte_ethdev_core.h:125:
+	RTE_ATOMIC(struct rte_eth_mirror *) *tx_mirror;
 	                                    ^

total: 2 errors, 2 warnings, 384 lines checked


More information about the test-report mailing list