Thanks Po-Hsu Lin.
The patch version of the kmod Package worked fine in my environment as well. 


# cd ~/kmod/tools
# ./modinfo vfio-pci
name:           vfio_pci
filename:       (builtin)
description:    VFIO PCI - User Level meta-driver
author:         Alex Williamson <alex.william...@redhat.com>
license:        GPL v2
version:        0.2
parm:           ids:Initial PCI IDs to add to the vfio driver, format is 
"vendor:device[:subvendor[:subdevice[:class[:class_mask]]]]" and multiple comma 
separated entries can be specified (string)
parm:           nointxmask:Disable support for PCI 2.3 style INTx masking.  If 
this resolves problems for specific devices, report lspci -vvvxxx to 
linux-...@vger.kernel.org so the device can be fixed automatically via the 
broken_intx_masking flag. (bool)
parm:           disable_vga:Disable VGA resource access through vfio-pci (bool)
parm:           disable_idle_d3:Disable using the PCI D3 low power state for 
idle, unused devices (bool)

# dpdk-devbind --status

Network devices using DPDK-compatible driver
============================================
<none>

Network devices using kernel driver
===================================
0000:02:00.0 'NetXtreme BCM5717 Gigabit Ethernet PCIe 1665' if=eno1 drv=tg3 
unused=vfio-pci *Active*
0000:02:00.1 'NetXtreme BCM5717 Gigabit Ethernet PCIe 1665' if=eno2 drv=tg3 
unused=vfio-pci
0000:0e:00.0 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
if=enp14s0f0 drv=e1000e unused=vfio-pci
0000:0e:00.1 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
if=enp14s0f1 drv=e1000e unused=vfio-pci
0000:0f:00.0 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
if=enp15s0f0 drv=e1000e unused=vfio-pci
0000:0f:00.1 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
if=enp15s0f1 drv=e1000e unused=vfio-pci

# dpdk-devbind -b vfio-pci 0000:0f:00.0
# dpdk-devbind --status

Network devices using DPDK-compatible driver
============================================
0000:0f:00.0 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
drv=vfio-pci unused=e1000e

Network devices using kernel driver
===================================
0000:02:00.0 'NetXtreme BCM5717 Gigabit Ethernet PCIe 1665' if=eno1 drv=tg3 
unused=vfio-pci *Active*
0000:02:00.1 'NetXtreme BCM5717 Gigabit Ethernet PCIe 1665' if=eno2 drv=tg3 
unused=vfio-pci
0000:0e:00.0 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
if=enp14s0f0 drv=e1000e unused=vfio-pci
0000:0e:00.1 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
if=enp14s0f1 drv=e1000e unused=vfio-pci
0000:0f:00.1 '82571EB/82571GB Gigabit Ethernet Controller (Copper) 10bc' 
if=enp15s0f1 drv=e1000e unused=vfio-pci


Testing Environment:

# lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic
# uname -a
Linux ml110gen9 5.4.0-77-generic #86~18.04.1-Ubuntu SMP Fri Jun 18 01:23:22 UTC 
2021 x86_64 x86_64 x86_64 GNU/Linux
# apt list -a dpdk
Listing... Done
dpdk/bionic-updates,now 17.11.10-0ubuntu0.1 amd64 [installed]

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

Title:
  Can't Load vfio-pci Module on Ubuntu 18.04 HWE Kernel

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to