Bug 2208428

Summary: Unable to set qos_max_rate higher than 4 Gbps
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn23.06Assignee: lorenzo bianconi <lorenzo.bianconi>
Status: CLOSED ERRATA QA Contact: ying xu <yinxu>
Severity: high Docs Contact:
Priority: high    
Version: FDP 22.LCC: ctrautma, jiji, jishi, mmichels
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn23.06-23.06.0-141.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-24 11:05:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OVN Bot 2023-05-19 04:08:53 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2139100

Comment 3 ying xu 2023-12-12 10:36:58 UTC
verified on version:
ovn23.06-23.06.1-60.el8fdp.x86_64

# ovn-nbctl set Logical_Switch_Port ln_p1 options:qos_max_rate=2000000
[root@dell-per730-19 qos]# tc class show dev enp4s0d1
class htb 1:1 parent 1:fffe prio 0 rate 12Kbit ceil 34359Mbit burst 1563b cburst 0b
class htb 1:fffe root rate 34359Mbit ceil 34359Mbit burst 0b cburst 0b
class htb 1:2 parent 1:fffe prio 0 rate 1Mbit ceil 2Mbit burst 275000b cburst 275000b

# ovn-nbctl set Logical_Switch_Port ln_p1 options:qos_max_rate=33359738360
[root@dell-per730-19 qos]# tc class show dev enp4s0d1
class htb 1:1 parent 1:fffe prio 0 rate 12Kbit ceil 34359Mbit burst 1563b cburst 0b
class htb 1:fffe root rate 34359Mbit ceil 34359Mbit burst 0b cburst 0b
class htb 1:2 parent 1:fffe prio 0 rate 1Mbit ceil 33359Mbit burst 275000b cburst 271047b

[root@dell-per730-19 qos]# ovn-nbctl set Logical_Switch_Port ln_p1 options:qos_max_rate=34359738360      -----------set as 34G
[root@dell-per730-19 qos]# tc class show dev enp4s0d1
class htb 1:1 parent 1:fffe prio 0 rate 12Kbit ceil 34359Mbit burst 1563b cburst 0b
class htb 1:fffe root rate 34359Mbit ceil 34359Mbit burst 0b cburst 0b
class htb 1:2 parent 1:fffe prio 0 rate 1Mbit ceil 34359Mbit burst 275000b cburst 274877b        -------set success


set verified.

Comment 5 errata-xmlrpc 2024-01-24 11:05:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ovn23.06 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:0388