automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw55348 [PATCH v2 24/28] net/softnic: update softnic tm function
       [not found] <20190625153217.24301-25-jasvinder.singh@intel.com>
@ 2019-06-25 15:38 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-25 15:38 UTC (permalink / raw)
  To: test-report; +Cc: Jasvinder Singh

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

_coding style issues_


CHECK:SPACING: No space is necessary after a cast
#227: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:625:
+		(uint32_t *) calloc(RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE,

WARNING:LONG_LINE_COMMENT: line over 90 characters
#331: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:796:
+				if (t == RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE - 1) { /*BE Traffic Class*/

WARNING:LONG_LINE: line over 90 characters
#332: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:797:
+					for (q = 0; q < RTE_SCHED_BE_QUEUES_PER_PIPE; q++) {

WARNING:LONG_LINE: line over 90 characters
#334: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:799:
+							queue_node_id(n_spp, n_pps, s, p, t, q),

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#341: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:806:
+						if (status)

WARNING:LONG_LINE: line over 90 characters
#476: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1054:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[0], tokens[35]) != 0) {

WARNING:LONG_LINE: line over 90 characters
#495: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1070:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[1], tokens[37]) != 0) {

WARNING:LONG_LINE: line over 90 characters
#514: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1086:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[2], tokens[39]) != 0) {

WARNING:LONG_LINE: line over 90 characters
#533: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1102:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[3], tokens[41]) != 0) {

CHECK:BRACES: braces {} should be used on all arms of this statement
#546: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1115:
+	if (strcmp(tokens[43], "none") == 0)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#548: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1117:
+	else {

WARNING:LONG_LINE: line over 90 characters
#549: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1118:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[4], tokens[43]) != 0) {

CHECK:BRACES: braces {} should be used on all arms of this statement
#562: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1131:
+	if (strcmp(tokens[45], "none") == 0)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#564: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1133:
+	else {

WARNING:LONG_LINE: line over 90 characters
#565: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1134:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[5], tokens[45]) != 0) {

CHECK:BRACES: braces {} should be used on all arms of this statement
#578: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1147:
+	if (strcmp(tokens[47], "none") == 0)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#580: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1149:
+	else {

WARNING:LONG_LINE: line over 90 characters
#581: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1150:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[6], tokens[47]) != 0) {

CHECK:BRACES: braces {} should be used on all arms of this statement
#594: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1163:
+	if (strcmp(tokens[49], "none") == 0)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#596: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1165:
+	else {

WARNING:LONG_LINE: line over 90 characters
#597: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1166:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[7], tokens[49]) != 0) {

CHECK:BRACES: braces {} should be used on all arms of this statement
#610: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1179:
+	if (strcmp(tokens[51], "none") == 0)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#612: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1181:
+	else {

WARNING:LONG_LINE: line over 90 characters
#613: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1182:
+		if (softnic_parser_read_uint32(&p.shared_shaper_id.tc[8], tokens[51]) != 0) {

WARNING:LONG_LINE: line over 90 characters
#643: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1206:
+			if (softnic_parser_read_uint32(&p.weight.queue[i], tokens[54 + j]) != 0) {

WARNING:LONG_LINE: line over 90 characters
#702: FILE: drivers/net/softnic/rte_eth_softnic_tm.c:372:
+		(n_queues_max * RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE) / RTE_SCHED_QUEUES_PER_PIPE;

total: 0 errors, 15 warnings, 11 checks, 818 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-25 15:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190625153217.24301-25-jasvinder.singh@intel.com>
2019-06-25 15:38 ` [dpdk-test-report] |WARNING| pw55348 [PATCH v2 24/28] net/softnic: update softnic tm function checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).