tc does not display value of prio and quantum options of htb on bionic

Bug #1780165 reported by fumihiko kakuma
8
This bug affects 1 person
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://www.spinics.net/lists/netdev/msg511127.html

I think that the above patch can be applied for the bionic.

Tags: patch
fumihiko kakuma (kakuma)
summary: - tc does not to display prio and quantum options of htb
+ tc does not display value of prio and quantum options of htb
fumihiko kakuma (kakuma)
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
fumihiko kakuma (kakuma)
description: updated
Revision history for this message
fumihiko kakuma (kakuma) wrote :

The patch was merged in upstream.

Revision history for this message
fumihiko kakuma (kakuma) wrote :
Revision history for this message
fumihiko kakuma (kakuma) wrote :

Attach the patch for this problem.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix miss of htb option value of tc command" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.