Bug 2001851

Summary: Unable to set the MTU for the OVS-DPDK ports
Product: Red Hat Enterprise Linux 8 Reporter: Karthik Sundaravel <ksundara>
Component: NetworkManagerAssignee: Fernando F. Mancera <ferferna>
Status: CLOSED ERRATA QA Contact: Matej Berezny <mberezny>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: bgalvani, ferferna, fge, lrintel, mberezny, rkhan, skramaja, sukulkar, till, vbenes, vcandapp
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: NetworkManager-1.36.0-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:54:14 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-07 10:50:58 UTC
Description of problem:
Unable to set the MTU for the DPDK ports.


How reproducible:


Steps to Reproduce:
nmcli con add type ovs-bridge conn.interface ovsbridge0 con-name ovs-bridge0 ovs-bridge.datapath-type netdev
nmcli con add type ovs-port conn.interface dpdkbond0 conn.master ovsbridge0 con-name ovs-dpdkbond0 ovs-port.bond-mode balance-slb 
nmcli c add type ovs-port conn.interface ovsbridge-port0 master ovsbridge0 con-name ovs-port-br
nmcli c add type ovs-interface slave-type ovs-port conn.interface ovsbridge-port0 master ovs-port-br  con-name  ovs-if-br-house 802-3-ethernet.mtu 9000
nmcli con add type ovs-interface conn.interface iface0 conn.master dpdkbond0 con-name ovs-iface0 ovs-dpdk.devargs 000:18:00.2 ovs-interface.type dpdk 802-3-ethernet.mtu 9000
nmcli con add type ovs-interface conn.interface iface1 conn.master dpdkbond0 con-name ovs-iface1 ovs-dpdk.devargs 000:18:00.3 ovs-interface.type dpdk 802-3-ethernet.mtu 9000

Actual results:


[root@dell-r640-oss-03 ~]# ip a
10: ovsbridge-port0: <BROADCAST,MULTICAST,PROMISC> mtu 9000 qdisc noop state DOWN group default qlen 1000
link/ether 8a:32:ce:b4:76:1d brd ff:ff:ff:ff:ff:ff

[root@dell-r640-oss-03 ~]# sudo ovs-appctl dpctl/show
netdev@ovs-netdev:
  lookups: hit:1129 missed:317 lost:0
  flows: 2
  port 0: ovs-netdev (tap)
  port 1: iface0 (dpdk: configured_rx_queues=1, configured_rxq_descriptors=2048, configured_tx_queues=3, configured_txq_descriptors=2048, lsc_interrupt_mode=false, mtu=1500, requested_rx_queues=1, requested_rxq_descriptors=2048, requested_tx_queues=3, requested_txq_descriptors=2048, rx_csum_offload=true, tx_tso_offload=false)
  port 2: ovsbridge-port0 (tap)
  port 3: iface1 (dpdk: configured_rx_queues=1, configured_rxq_descriptors=2048, configured_tx_queues=3, configured_txq_descriptors=2048, lsc_interrupt_mode=false, mtu=1500, requested_rx_queues=1, requested_rxq_descriptors=2048, requested_tx_queues=3, requested_txq_descriptors=2048, rx_csum_offload=true, tx_tso_offload=false)


Expected results:
The MTU of the DPDK interfaces are not set to 9000

Comment 3 Gris Ge 2022-01-18 08:02:43 UTC
Acceptance criteria: NetworkManager should support changing MTU of OVS-DPDK interface. Detail could be found in comment #0

Comment 7 Vijayalakshmi Candappa 2022-03-24 13:19:11 UTC
What is the fixed_in version for RHEL9 ?

Comment 8 Vijayalakshmi Candappa 2022-03-24 13:19:41 UTC
What is the fixed_in version for RHEL9 ?

Comment 9 Till Maas 2022-03-24 16:17:40 UTC
I assume it is NetworkManager-1.36.0-1.el9 - @ferferna can you confirm?

Comment 11 errata-xmlrpc 2022-05-10 14:54:14 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