[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** 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/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
We tested this on PS6 and we can confirm that it fixes the issue: root@ps6-ra2-n5:~# apt-cache policy netplan.io netplan.io: Installed: 0.107.1-3ubuntu0.22.04.3 Candidate: 0.107.1-3ubuntu0.22.04.4 Version table: 0.107.1-3ubuntu0.22.04.4 500 500 https://ppa.launchpadcontent.net/rmalz/sf00397214/ubuntu jammy/main amd64 Packages *** 0.107.1-3ubuntu0.22.04.3 500 500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages 100 /var/lib/dpkg/status 0.106.1-7ubuntu0.22.04.4 500 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages 0.104-0ubuntu2 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages root@ps6-ra2-n5:~# uptime 11:50:08 up 2 min, 2 users, load average: 10.26, 3.66, 1.32 root@ps6-ra2-n5:~# devlink dev eswitch show pci/:41:00.0 pci/:41:00.0: mode switchdev inline-mode none encap-mode basic root@ps6-ra2-n5:~# devlink dev eswitch show pci/:41:00.1 pci/:41:00.1: mode switchdev inline-mode none encap-mode basic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
Issues causing problems with mellanox interfaces not being configured in eswitch mode have been identified in [0]. This change which is available in ppa [1] Additionally we have verified fix in PS6 environment which originally reported this problem. After multiple reboots issue was not reproduced. [0] - https://bugs.launchpad.net/netplan/+bug/2139598 [1] - https://launchpad.net/~rmalz/+archive/ubuntu/sf00397214 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** Changed in: netplan.io (Ubuntu Jammy) Assignee: Lukas Märdian (slyon) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
PS6 was tried using version 107 with negative results. We will need to hold this until the PS6 issues are resolved. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
Resetting tags until there is an actionable way to verify this ** Tags removed: server-todo verification-done verification-done-jammy ** Tags added: verification-needed verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
Thank you for providing the additional data! Looking at your Netplan config, this looks very much like bug #1988018, as you're using "bond0" to build up a hardware-accelerated LAG. So I've tried to reproduce that other SRU bug, using a Mellanox ConnectX-6 equipped server and I seem to be able to reproduce the failure there! See bug #1988018 (comment #14++), can we please continue this discussion in that other bug report, because I think that's more relevant than this bug about "switchdev" mode without VFs. – You clearly create virtual- functions and set up a hardware accelerated bond0. Interestingly, the logs you provided seem to indicate success... are those really from a failed system state? """ Feb 21 11:54:40 ps6-ra3-n3 netplan[7601]: DEBUG:ens3f1 - waiting for the LAG state to be 'active' Feb 21 11:54:40 ps6-ra3-n3 netplan[7601]: DEBUG:ens3f1 - VF LAG state is 'active' Feb 21 11:54:40 ps6-ra3-n3 netplan[7601]: DEBUG::41:00.1: bound 0 VFs [...] Feb 21 11:54:40 ps6-ra3-n3 netplan[7601]: DEBUG:ens3f0 - waiting for the LAG state to be 'active' Feb 21 11:54:40 ps6-ra3-n3 netplan[7601]: DEBUG:ens3f0 - VF LAG state is 'active' Feb 21 11:54:40 ps6-ra3-n3 netplan[7601]: DEBUG::41:00.0: bound 0 VFs """ Well. "bound 0 VFs" doesn't sound quite right, but "VF LAG state is 'active'" sounds better than my reproducer (see bug #1988018) ** Tags removed: block-proposed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
Hi, here's the rest of the requested output: https://pastebin.canonical.com/p/ZBVkc8rstg/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** Attachment added: "150-charm-ovn.yaml" https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2020409/+attachment/5856833/+files/150-charm-ovn.yaml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** Attachment added: "50-cloud-init.yaml" https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2020409/+attachment/5856832/+files/50-cloud-init.yaml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
lshw *-network:0 description: Ethernet interface product: MT2892 Family [ConnectX-6 Dx] vendor: Mellanox Technologies physical id: 0 bus info: pci@:41:00.0 logical name: ens3f0 version: 00 serial: 10:70:fd:0f:84:f6 capacity: 40Gbit/s width: 64 bits clock: 33MHz capabilities: pciexpress vpd msix pm bus_master cap_list rom ethernet physical 1000bt-fd 1bt-fd 25000bt-fd 4bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=mlx5_core driverversion=6.2.0-39-generic duplex=full firmware=22.39.1002 (MT_000359) latency=0 link=yes multicast=yes slave=yes resources: irq:1504 memory:d400-d5ff memory:d100-d10f memory:d800-d9ff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
dmesg | grep E-Switch [ 30.127780] kernel: mlx5_core :41:00.0: E-Switch: Total vports 34, per vport: max uc(128) max mc(2048) [ 30.836883] kernel: mlx5_core :41:00.1: E-Switch: Total vports 34, per vport: max uc(128) max mc(2048) [ 37.186020] kernel: mlx5_core :41:00.1: E-Switch: Enable: mode(LEGACY), nvfs(32), active vports(33) [ 50.640609] kernel: mlx5_core :41:00.0: E-Switch: Enable: mode(LEGACY), nvfs(32), active vports(33) [ 108.052977] kernel: mlx5_core :41:00.1: E-Switch: Disable: mode(LEGACY), nvfs(32), active vports(33) [ 109.688247] kernel: mlx5_core :41:00.1: E-Switch: Supported tc chains and prios offload [ 112.747359] kernel: mlx5_core :41:00.1: E-Switch: Enable: mode(OFFLOADS), nvfs(32), active vports(33) [ 136.733037] kernel: mlx5_core :41:00.0: E-Switch: Disable: mode(LEGACY), nvfs(32), active vports(33) [ 138.403235] kernel: mlx5_core :41:00.0: E-Switch: Supported tc chains and prios offload [ 141.295846] kernel: mlx5_core :41:00.0: E-Switch: Enable: mode(OFFLOADS), nvfs(32), active vports(33) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
I was not yet able to reproduce the issue (but I found a server with a single MT2892 card). Can you share some more information, please? * sudo lshw -c network -businfo * sudo dmesg | grep E-Switch * Full Netplan configuration from /etc/netplan/*.yaml * Are you trying to set up a bond/link-aggregation (LAG) on top of those Mellanox NICs? (similar to bug #1988018) * cat /sys/class/net/ens3f0/device/sriov_numvfs * and: cat /sys/class/net/ens3f1/device/sriov_numvfs The following would be most interesting on a system with Netplan 0.107.1 (i.e. in the failed state) * systemctl status netplan-sriov-rebind.service * and: journalctl -u netplan-sriov-rebind.service * systemctl status netplan-sriov-apply.service * and: journalctl -u netplan-sriov-apply.service -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** Changed in: netplan.io (Ubuntu Jammy) Assignee: (unassigned) => Lukas Märdian (slyon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** Tags added: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
Hi, this happened on 6.8.0-51 HWE kernel. The relevant config: network: version: 2 ethernets: ens3f0: virtual-function-count: 32 embedded-switch-mode: switchdev delay-virtual-functions-rebind: true ens3f1: virtual-function-count: 32 embedded-switch-mode: switchdev delay-virtual-functions-rebind: true As I mentioned, 0.106.1-7ubuntu0.22.04.4 we *sometimes* had the issue of the cards not coming up in switchdev mode. With 0.107.1-3ubuntu0.22.04.2, this happened on all three reboots that we tried it with (and we didn't try more as this caused a significant problem already). This makes me think it's an issue with the new netplan version, not the kernel or driver. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
I'm setting this to "block-proposed-jammy", while investigating comment #11. Marcus, can you provide some more context on your test case? How does the relevant Netplan config look like? What kernel are you running this on? If you cannot change the eswitch mode manually (using "devlink"), this seems to be a problem on a lower layer (kernel/driver?) and might be unrelated to Netplan. ** Tags added: block-proposed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
We've installed the proposed version 0.107.1-3ubuntu0.22.04.2 of netplan following comment #8, to work around our Mellanox devices sometimes not being brought up in switchdev mode after a reboot: root@ps6-rb1-n5:~# devlink dev eswitch show pci/:41:00.0 pci/:41:00.0: mode legacy inline-mode none encap-mode basic root@ps6-rb1-n5:~# devlink dev eswitch show pci/:41:00.1 pci/:41:00.1: mode legacy inline-mode none encap-mode basic And setting it manually doesn't work: root@ps6-rb1-n5:~# devlink dev eswitch set pci/:41:00.0 mode switchdev Error: mlx5_core: Can't change mode, E-Switch is busy. kernel answers: Device or resource busy With 0.106.1-7ubuntu0.22.04.4, we sometimes had this issue after a reboots. We would just reboot again and it would work. With 0.107.1-3ubuntu0.22.04.2, it happens every time (well, 3 times out of 3 tries). This resulted in us having to downgrade to 0.106 again to get the server back up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** Tags removed: sru-next -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
I tested netplan.io 0.107.1-3ubuntu0.22.04.2 from jammy-proposed, all looking good! The intermittent failures reported in comment #9 are resolved. ## Test1: PFs without VFs (the use case for scalable functions) First of all, the eswitch/switchdev functionality is not available on Jammy's GA 5.15 kernel: ubuntu@toadsworth:~$ sudo devlink dev eswitch show pci/:86:00.0 kernel answers: Operation not supported So I upgraded to the HWE kernel and installed Netplan from proposed: ubuntu@toadsworth:~$ sudo apt-get install --install-recommends linux-generic-hwe-22.04 ubuntu@toadsworth:~$ reboot ubuntu@toadsworth:~$ uname -a Linux toadsworth 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ubuntu@toadsworth:~$ sudo apt-get install -t jammy-proposed netplan.io ubuntu@toadsworth:~$ apt list *netplan* Listing... Done libnetplan-dev/jammy-proposed 0.107.1-3ubuntu0.22.04.2 amd64 libnetplan0/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] netplan-generator/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] netplan.io/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] python3-netplan/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] Next, I identified the Mellanox ConnectX-4 NIC and checked its original eswitch mode (legacy): ubuntu@toadsworth:~$ sudo lshw -c network -businfo Bus info Device Class Description pci@:06:00.0 ens1f0np0 networkXtremeScale SFC9250 10/25/40/50/100G Ethernet Controller pci@:06:00.1 ens1f1np1 networkXtremeScale SFC9250 10/25/40/50/100G Ethernet Controller pci@:09:00.0 eno1networkEthernet Connection X722 for 1GbE pci@:09:00.1 eno2networkEthernet Connection X722 for 1GbE pci@:86:00.0 ens3np0 networkMT27710 Family [ConnectX-4 Lx] ubuntu@toadsworth:~$ sudo devlink dev eswitch show pci/:86:00.0 pci/:86:00.0: mode legacy inline-mode none encap-mode basic I changed the Netplan configuration according to the test plan above, applied the config and confirmed the eswich mode was switched to "switchdev": ubuntu@toadsworth:~$ sudo netplan set network.ethernets.ens3np0.embedded-switch-mode=switchdev ubuntu@toadsworth:~$ sudo netplan get network.ethernets.ens3np0 match: macaddress: "0c:42:a1:e2:8f:58" optional: true set-name: "ens3np0" mtu: 1500 embedded-switch-mode: "switchdev" ubuntu@toadsworth:~$ sudo netplan apply ubuntu@toadsworth:~$ sudo devlink dev eswitch show pci/:86:00.0 pci/:86:00.0: mode switchdev inline-mode link encap-mode basic ## Test2: change the eswitch mode but with VFs - Same setup on HWE kernel and Netplan 0.107, starting off on "legacy" eswitch mode and 0 VFs ubuntu@toadsworth:~$ uname -a Linux toadsworth 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ubuntu@toadsworth:~$ apt list *netplan* Listing... Done libnetplan-dev/jammy-proposed 0.107.1-3ubuntu0.22.04.2 amd64 libnetplan0/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] netplan-generator/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] netplan.io/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] python3-netplan/jammy-proposed,now 0.107.1-3ubuntu0.22.04.2 amd64 [installed,automatic] ubuntu@toadsworth:~$ sudo devlink dev eswitch show pci/:86:00.0 pci/:86:00.0: mode legacy inline-mode link encap-mode basic ubuntu@toadsworth:~$ cat /sys/class/net/ens3np0/device/sriov_numvfs 0 - Modify Netplan config to enable eswitch mode and add two virtual-functions (VFs): ubuntu@toadsworth:~$ sudo netplan get [...] ens3np0: match: macaddress: "0c:42:a1:e2:8f:58" optional: true set-name: "ens3np0" mtu: 1500 embedded-switch-mode: "switchdev" ens3np0v0: link: "ens3np0" ens3np0v1: link: "ens3np0" - Apply configuration and confirm "switchdev" eswitch mode and creation of two VFs: ubuntu@toadsworth:~$ sudo netplan apply ubuntu@toadsworth:~$ sudo devlink dev eswitch show pci/:86:00.0 pci/:86:00.0: mode switchdev inline-mode link encap-mode basic ubuntu@toadsworth:~$ cat /sys/class/net/ens3np0/device/sriov_numvfs 2 ubuntu@toadsworth:~$ sudo lshw -c network -businfo Bus info Device Class Description pci@:06:00.0 ens1f0np0 networkXtremeScale SFC9250 10/25/40/50/100G Ethernet Controller pci@:06:00.1 ens1f1np1 networkXtremeScale SFC9250 10/25/40/50/100G Ethernet Controller pci@:09:00.0 eno1networkEthernet Connection X722 for 1GbE pci@:09:00.1 eno2networkEthernet Connection X722
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
Dear openstack team (or anyone with the relevant hardware), can you please help to test this, using the following commands? cat
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
Hello Moshe, or anyone else affected, Accepted netplan.io into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/netplan.io/0.107.1-3ubuntu0.22.04.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-jammy. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: netplan.io (Ubuntu Jammy) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2020409] Re: [SRU] can't move mellanox interface to switchdev when SR-IOV disable
** Merge proposal linked: https://code.launchpad.net/~danilogondolfo/netplan/+git/ubuntu/+merge/474659 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2020409 Title: [SRU] can't move mellanox interface to switchdev when SR-IOV disable To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2020409/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
