|WARNING| pw126960 [PATCH] app/test-pmd : Add 2.5Gbps and 5Gbps support to test-pmd
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu May 18 01:17:29 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/126960
_coding style issues_
ERROR:CODE_INDENT: code indent should use tabs where possible
#83: FILE: app/test-pmd/cmdline.c:1348:
+ *speed = RTE_ETH_LINK_SPEED_2_5G;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#83: FILE: app/test-pmd/cmdline.c:1348:
+ *speed = RTE_ETH_LINK_SPEED_2_5G;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#84: FILE: app/test-pmd/cmdline.c:1349:
+ } else if (!strcmp(speedstr, "5000")) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#84: FILE: app/test-pmd/cmdline.c:1349:
+ } else if (!strcmp(speedstr, "5000")) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#85: FILE: app/test-pmd/cmdline.c:1350:
+ *speed = RTE_ETH_LINK_SPEED_5G;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#85: FILE: app/test-pmd/cmdline.c:1350:
+ *speed = RTE_ETH_LINK_SPEED_5G;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#86: FILE: app/test-pmd/cmdline.c:1351:
+ } else if (!strcmp(speedstr, "10000")) {$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#86: FILE: app/test-pmd/cmdline.c:1351:
+ } else if (!strcmp(speedstr, "10000")) {$
ERROR:CODE_INDENT: code indent should use tabs where possible
#134: FILE: app/test-pmd/parameters.c:553:
+ case 2500:$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#134: FILE: app/test-pmd/parameters.c:553:
+ case 2500:$
ERROR:CODE_INDENT: code indent should use tabs where possible
#135: FILE: app/test-pmd/parameters.c:554:
+ speed |= RTE_ETH_LINK_SPEED_2_5G;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#135: FILE: app/test-pmd/parameters.c:554:
+ speed |= RTE_ETH_LINK_SPEED_2_5G;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#136: FILE: app/test-pmd/parameters.c:555:
+ break;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#136: FILE: app/test-pmd/parameters.c:555:
+ break;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#137: FILE: app/test-pmd/parameters.c:556:
+ case 5000:$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#137: FILE: app/test-pmd/parameters.c:556:
+ case 5000:$
ERROR:CODE_INDENT: code indent should use tabs where possible
#138: FILE: app/test-pmd/parameters.c:557:
+ speed |= RTE_ETH_LINK_SPEED_5G;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#138: FILE: app/test-pmd/parameters.c:557:
+ speed |= RTE_ETH_LINK_SPEED_5G;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#139: FILE: app/test-pmd/parameters.c:558:
+ break;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#139: FILE: app/test-pmd/parameters.c:558:
+ break;$
total: 10 errors, 10 warnings, 80 lines checked
More information about the test-report
mailing list