Comment 0 for bug 1780165

Revision history for this message
fumihiko kakuma (kakuma) wrote : tc does not to display prio and quantum options of htb

For example when I execute the following commandline, tc does not display value of prio and quantum option.

# tc qdisc add dev eno2 root handle 1: htb default 10
# tc class add dev eno2 parent 1: classid 1:1 htb rate 100mbit
# tc class add dev eno2 parent 1:1 classid 1:10 htb rate 1mibit
# tc class add dev eno2 parent 1:1 classid 1:20 htb quantum 1000 rate 50mibit prio 1
# tc -d class show dev eno2
class htb 1:10 parent 1:1 prio quantum rate 1048Kbit ceil 1048Kbit linklayer ethernet burst 1599b/1 mpu 0b cburst 1599b/1 mpu 0b level 0
class htb 1:1 root rate 100Mbit ceil 100Mbit linklayer ethernet burst 1600b/1 mpu 0b cburst 1600b/1 mpu 0b level 7
class htb 1:20 parent 1:1 prio quantum rate 52428Kbit ceil 52428Kbit linklayer ethernet burst 1592b/1 mpu 0b cburst 1592b/1 mpu 0b level 0
#

I sent the patch for this bug to ML of upstream.

https://www.spinics.net/lists/netdev/msg511127.html