Bug 2139100 - Unable to set qos_max_rate higher than 4 Gbps
Summary: Unable to set qos_max_rate higher than 4 Gbps
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn22.09
Version: FDP 22.L
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: lorenzo bianconi
QA Contact: ying xu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-01 13:21 UTC by Ilya Maximets
Modified: 2023-05-19 04:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2418 0 None None None 2022-11-01 13:35:43 UTC

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


Note You need to log in before you can comment on or make changes to this bug.