diff options
author | Nogah Frankel <[email protected]> | 2018-01-14 12:33:17 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-14 12:21:12 -0500 |
commit | 93d8a4c1b5f55855ae3ef7063ce79af13212f96f (patch) | |
tree | b5ce274ec5fddee527cc5195f4dba2c6098eb18a /scripts/gdb/linux/lists.py | |
parent | 46a3615be43631fc804b179cbfeabded8c3a7a5d (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 <[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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions