* [dpdk-test-report] |WARNING| pw56335 [PATCH v3 10/11] examples/qos_sched: add tc and queue config flexibility
[not found] <20190711102659.59001-11-jasvinder.singh@intel.com>
@ 2019-07-11 10:27 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-07-11 10:27 UTC (permalink / raw)
To: test-report; +Cc: Jasvinder Singh
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/56335
_coding style issues_
WARNING:LONG_LINE_COMMENT: line over 90 characters
#62: FILE: examples/qos_sched/app_thread.c:43:
+ (RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE - 1) : *queue); /* Destination IP */
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#606: FILE: examples/qos_sched/stats.c:25:
+ if (i == nb_pfc || subport_id >= port_params.n_subports_per_port ||
[...]
+ return -1;
WARNING:LONG_LINE: line over 90 characters
#698: FILE: examples/qos_sched/stats.c:92:
+ rte_sched_queue_read_stats(port, queue_id + i, &stats, &qlen);
WARNING:LONG_LINE: line over 90 characters
#847: FILE: examples/qos_sched/stats.c:175:
+ subport_queue_id += port_params.n_pipes_per_subport * RTE_SCHED_QUEUES_PER_PIPE;
WARNING:LONG_LINE: line over 90 characters
#855: FILE: examples/qos_sched/stats.c:183:
+ queue_id = subport_queue_id + i * RTE_SCHED_QUEUES_PER_PIPE + tc;
WARNING:LONG_LINE: line over 90 characters
#861: FILE: examples/qos_sched/stats.c:189:
+ i * RTE_SCHED_QUEUES_PER_PIPE + tc + j;
WARNING:LONG_LINE: line over 90 characters
#862: FILE: examples/qos_sched/stats.c:190:
+ rte_sched_queue_read_stats(port, queue_id, &stats, &qlen);
WARNING:LONG_LINE: line over 90 characters
#871: FILE: examples/qos_sched/stats.c:199:
+ average += part_average / (port_params.n_pipes_per_subport) * RTE_SCHED_BE_QUEUES_PER_PIPE;
WARNING:LONG_LINE: line over 90 characters
#916: FILE: examples/qos_sched/stats.c:232:
+ subport_queue_id += port_params.n_pipes_per_subport * RTE_SCHED_QUEUES_PER_PIPE;
WARNING:LONG_LINE: line over 90 characters
#936: FILE: examples/qos_sched/stats.c:242:
+ rte_sched_queue_read_stats(port, queue_id + j, &stats, &qlen);
WARNING:LONG_LINE: line over 90 characters
#944: FILE: examples/qos_sched/stats.c:247:
+ average += part_average / (port_params.n_pipes_per_subport * RTE_SCHED_QUEUES_PER_PIPE);
WARNING:LONG_LINE: line over 90 characters
#1010: FILE: examples/qos_sched/stats.c:285:
+ printf("| %d | %11" PRIu32 " | %11" PRIu32 " | %11" PRIu32 " | %11" PRIu32 " | %11" PRIu32 " |
", i,
WARNING:LONG_LINE: line over 90 characters
#1091: FILE: examples/qos_sched/stats.c:328:
+ printf("| %d | %d | %11" PRIu32 " | %11" PRIu32 " | %11" PRIu32 " | %11" PRIu32 " | %11i |
", i, 0,
WARNING:LONG_LINE: line over 90 characters
#1092: FILE: examples/qos_sched/stats.c:329:
+ stats.n_pkts, stats.n_pkts_dropped, stats.n_bytes, stats.n_bytes_dropped, qlen);
WARNING:LONG_LINE: line over 90 characters
#1096: FILE: examples/qos_sched/stats.c:333:
+ rte_sched_queue_read_stats(port, queue_id + i + j, &stats, &qlen);
WARNING:LONG_LINE: line over 90 characters
#1097: FILE: examples/qos_sched/stats.c:334:
+ printf("| %d | %d | %11" PRIu32 " | %11" PRIu32 " | %11" PRIu32 " | %11" PRIu32 " | %11i |
", i, j,
WARNING:LONG_LINE: line over 90 characters
#1098: FILE: examples/qos_sched/stats.c:335:
+ stats.n_pkts, stats.n_pkts_dropped, stats.n_bytes, stats.n_bytes_dropped, qlen);
total: 0 errors, 17 warnings, 1021 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-11 10:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20190711102659.59001-11-jasvinder.singh@intel.com>
2019-07-11 10:27 ` [dpdk-test-report] |WARNING| pw56335 [PATCH v3 10/11] examples/qos_sched: add tc and queue config flexibility 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).