Bug 2001563

Summary: [RFE] rx_queue support for OVS-DPDK configuration
Product: Red Hat Enterprise Linux 8 Reporter: Karthik Sundaravel <ksundara>
Component: NetworkManagerAssignee: Ana Cabral <acabral>
Status: CLOSED ERRATA QA Contact: Vladimir Benes <vbenes>
Severity: unspecified Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: high    
Version: 8.4CC: acabral, bgalvani, ferferna, fge, lrintel, rkhan, skramaja, sukulkar, till, vbenes, wenliang
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.36.0-0.4.el8 Doc Type: Enhancement
Doc Text:
.NetworkManager now supports setting the number of receiving queues (`rx_queue`) on OVS-DPDK interfaces With this enhancement, you can use NetworkManager to configure the `n_rxq` setting of Open vSwitch (OVS) Data Plane Development Kit (DPDK) interfaces. Use the `ovs-dpdk.n-rxq` attribute in NetworkManager to set the number of receiving queues on OVS-DPDK interfaces. For example, to configure 2 receiving queues in OVS interface named `ovs-iface0`, enter: ---- # nmcli connection modify ovs-iface0 ovs-dpdk.nrxq 2 ----
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:54:08 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 Karthik Sundaravel 2021-09-06 12:02:42 UTC
rx_queue support for OVS-DPDK is not available in NM.
In ifcfg model, rx_queue could be configured via OVS_EXTRA flags and openstack uses this method to configure multiqueues.

Expected results:
NM shall provide a method for rx_queue configuration

Comment 2 Karthik Sundaravel 2021-09-09 10:15:06 UTC
Hi

Sample usage by openstack [1].

A sample ifcfg-dpdk-port

DEVICE=dpdk-link1-port
ONBOOT=yes
HOTPLUG=no
NM_CONTROLLED=no
PEERDNS=no
DEVICETYPE=ovs
TYPE=OVSDPDKPort
OVS_BRIDGE=br-link1
RX_QUEUE=2
OVS_EXTRA="set Interface $DEVICE options:n_rxq=$RX_QUEUE options:dpdk-devargs=0000:18:00.2"

I don't think external-ids could be used for the same. We would need similar support in NM to support the above use case.
This feature is required for OSP17 which would use RHEl 9

[1] https://github.com/openstack/os-net-config/blob/012b58ccc1623945c4428e82eec80b2f3f22d6b7/etc/os-net-config/samples/ovs_dpdk.yaml#L24

Comment 14 Vladimir Benes 2022-02-14 15:17:29 UTC
The add_dpdk_port_n_rxq test is running in NMCI.

Comment 17 errata-xmlrpc 2022-05-10 14:54:08 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 (NetworkManager 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/RHEA-2022:1985