aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorIvan Khoronzhuk <[email protected]>2019-11-19 02:23:12 +0200
committerDavid S. Miller <[email protected]>2019-11-19 15:23:15 -0800
commitb5a0faa3572ac70bd374bd66190ac3ad4fddab20 (patch)
tree8fff54e70d9cc37f03c8c0a9b21e294cada7ccce /scripts/gdb/linux/proc.py
parentd4ffb02dee2fcb20e0c8086a8d1305bf885820bb (diff)
taprio: don't reject same mqprio settings
The taprio qdisc allows to set mqprio setting but only once. In case if mqprio settings are provided next time the error is returned as it's not allowed to change traffic class mapping in-flignt and that is normal. But if configuration is absolutely the same - no need to return error. It allows to provide same command couple times, changing only base time for instance, or changing only scheds maps, but leaving mqprio setting w/o modification. It more corresponds the message: "Changing the traffic mapping of a running schedule is not supported", so reject mqprio if it's really changed. Also corrected TC_BITMASK + 1 for consistency, as proposed. Fixes: a3d43c0d56f1 ("taprio: Add support adding an admin schedule") Reviewed-by: Vladimir Oltean <[email protected]> Tested-by: Vladimir Oltean <[email protected]> Acked-by: Vinicius Costa Gomes <[email protected]> Signed-off-by: Ivan Khoronzhuk <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions