|WARNING| pw117827 [RFC] net: add experimental UDP encapsulation PMD

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 11 02:10:33 CEST 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'follwed' may be misspelled - perhaps 'followed'?
#145: FILE: doc/guides/nics/udp.rst:18:
+The device name must start with the net_udp prefix follwed by numbers

CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#415: FILE: drivers/net/udp/rte_eth_udp.c:223:
+		m0 = mb = bufs[seg_idx];

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#430: FILE: drivers/net/udp/rte_eth_udp.c:238:
+
+		}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#692: FILE: drivers/net/udp/rte_eth_udp.c:500:
+	num_stats = RTE_MIN((unsigned)RTE_ETHDEV_QUEUE_STAT_CNTRS,

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#704: FILE: drivers/net/udp/rte_eth_udp.c:512:
+	num_stats = RTE_MIN((unsigned)RTE_ETHDEV_QUEUE_STAT_CNTRS,

total: 0 errors, 3 warnings, 2 checks, 789 lines checked
Warning in drivers/net/udp/rte_eth_udp.c:
Declaring a variable inside for()


More information about the test-report mailing list