SR-IOV Error on Ubuntu 18.04 with Intel X550 on Dell R640

dell-poweredgeintelsr-iovubuntu-18.04virtualization

I'm having issues on creating VF with ubuntu 18.04.
SR-IOV is enabled from BIOS, the NIC are Intel X550, I added
intel_iommu=on to /etc/default/grub and also tried using modprobe.d
by adding options ixgbe max_vfs=8 on /etc/modprobe.d/ixgbe.conf

But if I check using lspci | grep -i ethernet I only get the physical cards.
I have also tried:

# echo '7' > /sys/class/net/eno1/device/sriov_numvfs
bash: /sys/class/net/eno1/device/sriov_numvfs: Permission denied

Is the configuration correct?

From dmesg I get:

$ dmesg | grep iov
[  137.321216] ixgbe 0000:19:00.0 0000:19:00.0 (uninitialized): Failed to enable PCI sriov: -38
[  138.295030] ixgbe 0000:19:00.1 0000:19:00.1 (uninitialized): Failed to enable PCI sriov: -38
[  139.263114] ixgbe 0000:1a:00.0 0000:1a:00.0 (uninitialized): Failed to enable PCI sriov: -38
[  140.227147] ixgbe 0000:1a:00.1 0000:1a:00.1 (uninitialized): Failed to enable PCI sriov: -38

If may be usedfull here you can find the dmesg | grep iommu
and the full dmesg

Many thanks.
Gabriele

Best Answer

I solved this, was a lack of documentation from Dell side. I had to enable also SR-IOV for each NIC, in the Device Settigs from the System Configuration, the global enabler is not enough.