[dpdk-test-report] |WARNING| pw100432 [PATCH v2] test: add reassembly perf test

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 4 15:34:48 CEST 2021


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

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


WARNING:TYPO_SPELLING: 'vairable' may be misspelled - perhaps 'variable'?
#76: 
Each test is performed with vairable number of fragments per flow,

WARNING:TYPO_SPELLING: 'unorderd' may be misspelled - perhaps 'unordered'?
#77: 
either ordered or unorderd fragments and interleaved flows.

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#137: FILE: app/test/test_reassembly_perf.c:19:
+#define MAX_FLOWS	    1024 * 32

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#142: FILE: app/test/test_reassembly_perf.c:24:
+#define MAX_PKTS	    MAX_FLOWS *MAX_FRAGMENTS
                 	              ^

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#142: FILE: app/test/test_reassembly_perf.c:24:
+#define MAX_PKTS	    MAX_FLOWS *MAX_FRAGMENTS

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#145: FILE: app/test/test_reassembly_perf.c:27:
+#define MAX_TTL_MS  5 * MS_PER_S

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#152: FILE: app/test/test_reassembly_perf.c:34:
+#define IP_SRC_ADDR(x) (198U << 24) | (18 << 16) | (0 << 8) | x

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#153: FILE: app/test/test_reassembly_perf.c:35:
+#define IP_DST_ADDR(x) (198U << 24) | (18 << 16) | (1 << 8) | x

total: 6 errors, 2 warnings, 1005 lines checked


More information about the test-report mailing list