Tested on jammy 0.107.1-3ubuntu0.22.04.3
with netplan config:
/etc/netplan/50-cloud-init.yaml
ens7f0:
match:
macaddress: b8:3f:d2:2d:68:7e
mtu: 1500
set-name: ens7f0
/etc/netplan/99-sriov.yaml
network:
version: 2
ethernets:
ens7f0:
virtual-function-count: 16
embedded-switch-mode: switchdev
delay-virtual-functions-rebind: true
Results:
Interface was renamed as expected:
Mar 20 13:14:43 romano kernel: mlx5_core 0000:61:00.0 ens7f0np0: renamed from
eth2
Mar 20 13:14:44 romano kernel: mlx5_core 0000:61:00.0 ens7f0: renamed from
ens7f0np0
Mar 20 13:15:48 romano systemd[1]: netplan-sriov-apply.service: Deactivated
successfully.
Mar 20 13:15:48 romano systemd[1]: Finished Apply SR-IOV configuration.
Mar 20 13:15:48 romano systemd[1]: netplan-sriov-apply.service: Consumed 1.577s
CPU time.
ubuntu@romano:~$ systemctl show netplan-sriov-apply.service \
-p ExecMainStartTimestamp \
-p ExecMainExitTimestamp
ExecMainStartTimestamp=Fri 2026-03-20 13:14:44 UTC
ExecMainExitTimestamp=Fri 2026-03-20 13:15:48 UTC
Configuration was applied as expected:
ubuntu@romano:~$ sudo devlink dev eswitch show pci/0000:61:00.1
pci/0000:61:00.1: mode switchdev inline-mode none encap-mode basic
ubuntu@romano:~$ sudo devlink dev eswitch show pci/0000:61:00.0
pci/0000:61:00.0: mode switchdev inline-mode none encap-mode basic
System has been rebooted 3 times, each time results were positive.
Working on verifying noble/questing.
I have also reached PS6 team which reported issues in
https://bugs.launchpad.net/netplan/+bug/2020409 to double check -proposed as
well.
** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2139598
Title:
Netplan can crash when applying sriov config
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/2139598/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs