[dpdk-test-report] |WARNING| pw88608 [PATCH 11/44] net/cnxk: add Rx support for cn9k

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Mar 6 16:37:26 CET 2021


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

_coding style issues_


CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#171: FILE: drivers/net/cnxk/cn9k_rx.c:63:
+		rte_prefetch_non_temporal(

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#377: FILE: drivers/net/cnxk/cn9k_rx.h:146:
+#define NIX_RX_FASTPATH_MODES					       \
+R(no_offload,			0, 0, 0, 0, NIX_RX_OFFLOAD_NONE)       \
+R(rss,				0, 0, 0, 1, RSS_F)		       \
+R(ptype,			0, 0, 1, 0, PTYPE_F)		       \
+R(ptype_rss,			0, 0, 1, 1, PTYPE_F | RSS_F)	       \
+R(cksum,			0, 1, 0, 0, CKSUM_F)		       \
+R(cksum_rss,			0, 1, 0, 1, CKSUM_F | RSS_F)	       \
+R(cksum_ptype,			0, 1, 1, 0, CKSUM_F | PTYPE_F)	       \
+R(cksum_ptype_rss,		0, 1, 1, 1, CKSUM_F | PTYPE_F | RSS_F) \
+R(mark,				1, 0, 0, 0, MARK_F)		       \
+R(mark_rss,			1, 0, 0, 1, MARK_F | RSS_F)	       \
+R(mark_ptype,			1, 0, 1, 0, MARK_F | PTYPE_F)	       \
+R(mark_ptype_rss,		1, 0, 1, 1, MARK_F | PTYPE_F | RSS_F)  \
+R(mark_cksum,			1, 1, 0, 0, MARK_F | CKSUM_F)	       \
+R(mark_cksum_rss,		1, 1, 0, 1, MARK_F | CKSUM_F | RSS_F)  \
+R(mark_cksum_ptype,		1, 1, 1, 0, MARK_F | CKSUM_F | PTYPE_F)\
+R(mark_cksum_ptype_rss,		1, 1, 1, 1, MARK_F | CKSUM_F | PTYPE_F | RSS_F)

total: 1 errors, 0 warnings, 1 checks, 307 lines checked


More information about the test-report mailing list