Bug 2139100

Summary: Unable to set qos_max_rate higher than 4 Gbps
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Ilya Maximets <i.maximets>
Component: ovn22.09Assignee: lorenzo bianconi <lorenzo.bianconi>
Status: CLOSED UPSTREAM 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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 04:01:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilya Maximets 2022-11-01 13:21:39 UTC
qos_max_rate and other options are in BITS per second and ovn-controller
is using 32 bit integer to store it:

  uint32_t max_rate = smap_get_int(&pb->options, "qos_max_rate", 0);

That limits the maximum value to just 4 Gbps, while 34 Gbps should
be technically possible with netdev_set_qos() API.

64bit values should be used instead.  Also limits are not documented
anywhere, while they should be.

Why 34 Gbps is a max described in BZ 2137619.

Comment 2 OVN Bot 2023-05-19 04:09:07 UTC
ovn23.06 fast-datapath-rhel-8 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2208428
ovn23.06 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2208429

Comment 3 Red Hat Bugzilla 2025-02-10 04:01:33 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.