summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPedro Tammela <pctammela@mojatatu.com>2023-04-04 17:34:49 -0300
committerJakub Kicinski <kuba@kernel.org>2023-04-05 18:12:55 -0700
commit8b0f256530d97f2a2310c4f8336ea2c477c8e6c4 (patch)
tree2b3c74a75781faf3de45ae68fdc986de3c3f8d8a /drivers
parentf037897669051d53551a2b198b2519356d59d491 (diff)
downloadlinux-stable-8b0f256530d97f2a2310c4f8336ea2c477c8e6c4.tar.gz
linux-stable-8b0f256530d97f2a2310c4f8336ea2c477c8e6c4.tar.bz2
linux-stable-8b0f256530d97f2a2310c4f8336ea2c477c8e6c4.zip
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 <jhs@mojatatu.com> Signed-off-by: Pedro Tammela <pctammela@mojatatu.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230404203449.1627033-1-pctammela@mojatatu.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions