Proxmox 8.2.2 SR-IOV x550-BT2 onboard NIC, only VF v0 works

dek0

New Member
Aug 19, 2024
3
0
1
Hello everyone,

Before I start, my setup: Proxmox 8.2.2, epc621d6u-2t motherboard with Intel x550-BT2 onboard NIC. (2 ports)
I went ahead and updated the firmware and driver as per suggestion here: https://forum.proxmox.com/threads/support-issues-with-sr-iov-on-proxmox-8-2-2.149365/

I was able to activate SR-IOV and spawn 8 virtual functions by setting "ixgbe.max_vfs=8" in /etc/default/grub. So far so good, I see the VFs in Proxmox and I was able to add the VFs to the opnsense VM. Everything works fine there.

Now if I want to add additional VFs to other VMs (Ubuntu), I'm able to and I see the device when I type ip link, but I don't get an IP and of course no connection.

Troubleshooting done: added the same VF I used on opnsense to the Ubuntu machine, voila, it works.
So the issue I have is, VFs work only on one VM at a time.

Code:
From the ixgbe driver readme I found the following:
SR-IOV virtual functions have identical MAC addresses
-----------------------------------------------------


When you create multiple SR-IOV virtual functions, the VFs may have
identical MAC addresses. Only one VF will pass traffic, and all
traffic on other VFs with identical MAC addresses will fail. This is
related to the "MACAddressPolicy=persistent" setting in
"/usr/lib/systemd/network/99-default.link".


To resolve this issue, edit the
"/usr/lib/systemd/network/99-default.link" file and change the
"MACAddressPolicy" line to "MACAddressPolicy=none". For more
information, see the systemd.link man page.

I applied this fix, but unfortunately it didn't help.

Any ideas?
 

Attachments

  • Screenshot 2024-08-19 at 17.23.16.png
    Screenshot 2024-08-19 at 17.23.16.png
    77.9 KB · Views: 8
Did some more troubleshooting and can confirm only virtual function 0 works, the remaining 7 don't.
 
Update: Pinned an older kernel, 6.5.13-5-pve , with this kernel I only see VFs 0, 2, 4 and 6. All of them work.
I reverted to the newest kernel and I see 8 VFs but only 0, 2, 4 and 6 work!

At least I have 4 VFs working now, but this is really strange behavior. Go figure...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!