diff options
author | Nogah Frankel <[email protected]> | 2018-02-28 10:45:01 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-02-28 12:06:00 -0500 |
commit | 04cc0bf5d6ceb0ff19e8636fb39695620e587b06 (patch) | |
tree | 6dab10bd074ac13e4eb46450615a640072ab24af /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 1631ab2e8d31577d65f4cf857f609ef3131ff61e (diff) |
mlxsw: spectrum: qdiscs: Collect stats for sch_red based on priomap
Priority counters count packets according to their packet priority.
Collect the stats for sch_red based on these counters, so the qdisc bstats
will be the sum of counters matching the priorities marked in the qdisc
priomap.
Changing the mapping of the priorities to bands while traffic is running
can result in losing the stats of the bands qdiscs from their last dump
call to this change, as if the qdisc was unoffloaded and re-offloaded. It
will not affect the traffic behaviour according to sch_red.
Signed-off-by: Nogah Frankel <[email protected]>
Reviewed-by: Yuval Mintz <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions