sr-iov and vlans?

Hello,

I tried getting sriov working toghether vith vlans, for use in Bhyve. But I cannot get vlan working after activating it.
My NIC is a Intel x550 integrated onto a Supermicro motherboard.

I built net/intel-ix-kmod with sriov support.

My files look like this:
Code:
/etc/iov/ix0.conf

PF {
        device : "ix0"
        num_vfs : 4
}

DEFAULT {
        passthrough: true;
        allow-set-mac: true;
        allow-promisc: true;
}

VF-0 {
        mac-addr : "bd:60:96:6b:a8:b0";
        passthrough: false;
}
VF-1 {
        mac-addr : "06:7f:a3:76:7e:35";
}
VF-2 {
        mac-addr : "ad:47:99:7b:fd:8a";
}
VF-3 {
        mac-addr : "8f:76:9d:62:0d:97";
}


/etc/iov/ix1.conf
PF {
        device : "ix1"
        num_vfs : 2
}

DEFAULT {
        passthrough: true;
        allow-set-mac: true;
        allow-promisc: true;
}

VF-0 {
        mac-addr : "ad:47:c8:f4:ab:95";
}
VF-1 {
        mac-addr : "06:7f:a3:76:7e:38";
}

When activating these files with iovctl -C -f, the vlan interface on ix0 stops working.
I tried adding a vlan interface to vf-0, but that doesn't work either.

Any ideas?
Is vlan and sriov not supported or am I doing something wrong?
Maybe a x710 nic will work better?
 
Last edited by a moderator:
I think the NIC is broken or something, after I swapped to another NIC everything started working.
This thread can be deleted since it was never approved by a moderator.
 
I also just tried to get SR-IOV working on 2 different hosts with X550 (x552 and x553) and on both the whole NIC goes completely silent as soon as VFs are created. Seems like either the ix driver or that chipset in general is buggy.
With the driver from base iovctl -C -f won't create any VF, net/intel-ix-kmod creates the VFs, but as said the whole NIC (VFs, PF and all interfaces like e.g. VLANs) is dead - not even ARP or STP goes through; a tcpdump stays completely empty... The only way to get the NIC back in a working state is a reboot; removing the VFs doesn't suffice.

X710 and ConnectX-3 work as expected.
 
I recently picked up this again, with a X710 nic. latest firmware as of today.

When activating sr-iov, same commands as before, I get instant kernel panic.
Any ideas?

I have tried both with net/intel-ixl-kmod and without, makes no difference.

I'm using 14.1-RELEASE-p5
snapshot.jpeg
 
If anyone else has this problem, I was able to solve it by disabling Above 4g decoding and Resizable Bar in BIOS.
 
X550 still not working in Sept 2025. The on board X722 chipset on my Supermicro mainboard works fine, after building the driver from ports with SR-IOV enabled. Waiting on delivery of an X710 and I'll use the X550 in a workstation somewhere. Intel really shouldn't claim the X550 supports SR-IOV... it doesn't show that capability in dmesg, so it's not surprising it doesn't work. Latest firmware doesn't help.
 
Back
Top