diff options
author | Vladimir Oltean <[email protected]> | 2023-02-04 15:53:00 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-02-06 10:06:44 +0000 |
commit | d404959fa23a6fc79ba3989f0491a1e747e30532 (patch) | |
tree | 1332397375b9def70c00bcaed95e0fe1081852e5 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 19278d76915d6b28269e1af1d7b6754c16576572 (diff) |
net/sched: mqprio: add extack messages for queue count validation
To make mqprio more user-friendly, create netlink extended ack messages
which say exactly what is wrong about the queue counts. This uses the
new support for printf-formatted extack messages.
Example:
$ tc qdisc add dev eno0 root handle 1: mqprio num_tc 8 \
map 0 1 2 3 4 5 6 7 queues 3@0 1@1 1@2 1@3 1@4 1@5 1@6 1@7 hw 0
Error: sch_mqprio: TC 0 queues 3@0 overlap with TC 1 queues 1@1.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Reviewed-by: Simon Horman <[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