Public bug reported:

When running DPDK on Ubuntu, we can no longer use virtual function (VF)
devices. VFIO framework is giving errors. Tested with Intel E810 and
XL710 NICs.

After creating a VF on each NIC, and then binding those NICs to vfio-pci
for DPDK use as normal, when we actually try running DPDK to use those
NICs, we get the error e.g "Getting a vfio_dev_fd for 0000:41:01.0
failed". This error is due to a failure of ioctl() call
"VFIO_GROUP_GET_DEVICE_FD" on the vfio group for the VF device.

Thus far, we have only been able to reproduce this issue with Ubuntu
kernels. While far from a kernel expert, and so may have missed some
settings, the follow are what has been tested:

* Ubuntu kernels shipped with Ubuntu 25.04 - FAIL
* Using a kernel built from latest kernel.org source - WORKS ok
* Using a 6.14 stock kernel build from kernel.org sources - WORKS ok
* Using a stock kernel built using the config copied from the 6.14 Ubuntu 
source package - WORKS ok
* Manually built kernel using the 6.14 Ubuntu sources [tested with the 
VFIO_DEVICE_CDEV on and off] - FAIL
* Using an Ubuntu-mainline-kernel package 6.15.8-061508-generic - WORKS ok

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2118903

Title:
  Cannot use VFs with DPDK on Ubuntu kernels

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2118903/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to