diff options
author | Nogah Frankel <[email protected]> | 2018-01-10 15:00:03 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-10 16:07:41 -0500 |
commit | cba7158ff1600f4ca8d752f41046d97800d9508e (patch) | |
tree | 56dca9ce69bf6f63c08d2d787fb515dbe83a63d5 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d56c89550bd0da43bfe9f91ade469ab3f233c62b (diff) |
mlxsw: spectrum: qdiscs: Unite all handle checks
Every qdisc op gets the qdisc handle ID as well as its location. Each one
of them, beside replace, checks if the handle doesn't match the qdisc in
the given location, and if so, it returns without running the actual op.
Unite these checks to one comparison function and avoid sending the handle
id to these ops.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions