aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-11-12 14:58:15 -0800
committerDavid S. Miller <[email protected]>2018-11-14 08:51:28 -0800
commit6b8417b7e6f5e4da2bfb4dd087d5f7f082d077de (patch)
tree8a22781fdd723216e5b0723c5fbefc3a8deedb91 /tools/perf/scripts/python
parentd577a3d279c3c60adabdcc4b7a414d37dea7b8b2 (diff)
nfp: abm: build full Qdisc hierarchy based on graft notifications
Using graft notifications recreate in the driver the full Qdisc hierarchy. Keep track of how many times each Qdisc is attached to the hierarchy to make sure we don't offload Qdiscs which are attached multiple times (device queues can't be shared). For graft events of Qdiscs we don't know exist make the child as invalid/untracked. Note that MQ Qdisc doesn't send destruction events reliably when device is dismantled, so we need to manually clean out the children otherwise we'd think Qdiscs which are still in use are getting freed. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: John Hurley <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions