-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
NetworkManager-1.53.91-1.el10
-
No
-
Moderate
-
1
-
rhel-net-mgmt
-
ssg_networking
-
5
-
False
-
False
-
-
None
-
NMT SST - Refine next
-
-
Pass
-
Automated
-
None
With SRIOV settings not changed, when invoking the DBUS call `'connection-activate`, NM will set the SRIOV sriov_numvfs to 0 and set it back to original value. This will break OpenShift and OpenStack usage as the VF NICs will be purged and re-added.
The solution we agreed on is to introduce a new "sriov.preserve-on-down" property. When set, NetworkManager will preserve the VFs and any other SR-IOV parameter on the device during deactivation. The property can be also reapplied to a live device, like in:
### Create a connection with SR-IOV VFs $ nmcli connection add type ethernet ifname eni1np1 sriov.total-vfs 2 ipv4.method disabled ipv6.method disabled $ nmcli connection up ethernet-eni1np1 $ ip link show eni1np1 342: eni1np1: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN ... link/ether 6e:cf:f0:08:74:f4 brd ff:ff:ff:ff:ff:ff vf 0 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, ... vf 1 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, ... ### Now we want to bring it down without touching the VFs $ nmcli device modify eni1np1 sriov.preserve-on-down yes $ nmcli connection down ethernet-eni1np1 $ ip link show eni1np1 342: eni1np1: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN ... link/ether 6e:cf:f0:08:74:f4 brd ff:ff:ff:ff:ff:ff vf 0 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, ... vf 1 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, ...
- is cloned by
-
RHEL-98728 Support deactivating a connection without resetting SRIOV sriov_numvfs [rhel-9.7]
-
- Release Pending
-
- links to
-
RHBA-2025:146815 NetworkManager bug fix and enhancement update