tc does not display value of prio and quantum options of htb on bionic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iproute2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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
#
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
$ uname -a
Linux vajk471iaa0s 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg -l | grep iproute
ii iproute2 4.15.0-2ubuntu1 amd64 networking and traffic control tools
$
I sent the patch for this bug to ML of upstream.
https:/
I think that the above patch can be applied for the bionic.
summary: |
- tc does not to display prio and quantum options of htb + tc does not display value of prio and quantum options of htb |
description: | updated |
summary: |
- tc does not display value of prio and quantum options of htb + tc does not display value of prio and quantum options of htb on bionic |
description: | updated |
The patch was merged in upstream.