aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorPedro Tammela <[email protected]>2023-04-04 17:34:49 -0300
committerJakub Kicinski <[email protected]>2023-04-05 18:12:55 -0700
commit8b0f256530d97f2a2310c4f8336ea2c477c8e6c4 (patch)
tree2b3c74a75781faf3de45ae68fdc986de3c3f8d8a /tools/perf/scripts/python/sched-migration.py
parentf037897669051d53551a2b198b2519356d59d491 (diff)
net/sched: sch_mqprio: use netlink payload helpers
For the sake of readability, use the netlink payload helpers from the 'nla_get_*()' family to parse the attributes. tdc results: 1..5 ok 1 9903 - Add mqprio Qdisc to multi-queue device (8 queues) ok 2 453a - Delete nonexistent mqprio Qdisc ok 3 5292 - Delete mqprio Qdisc twice ok 4 45a9 - Add mqprio Qdisc to single-queue device ok 5 2ba9 - Show mqprio class Acked-by: Jamal Hadi Salim <[email protected]> Signed-off-by: Pedro Tammela <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions