aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorNogah Frankel <nogahf@mellanox.com>2018-01-14 06:33:17 -0500
committerDavid S. Miller <davem@davemloft.net>2018-01-14 12:21:12 -0500
commit93d8a4c1b5f55855ae3ef7063ce79af13212f96f (patch)
treeb5ce274ec5fddee527cc5195f4dba2c6098eb18a /tools/perf/scripts/python/call-graph-from-sql.py
parent46a3615be43631fc804b179cbfeabded8c3a7a5d (diff)
mlxsw: spectrum: qdiscs: Support stats for PRIO qdisc
Support basic stats for PRIO qdisc, which includes tx packets and bytes count, drops count and backlog size. The rest of the stats are irrelevant for this qdisc offload. Since backlog is not only incremental but reflecting momentary value, in case of a qdisc that stops being offloaded but is not destroyed, backlog value needs to be updated about the un-offloading. For that reason an unoffload function is being added to the ops struct. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Reviewed-by: Yuval Mintz <yuvalm@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions