[dpdk-users] DPDK 17.05 does not find X510 card
rami.rosen at intel.com
Mon Jun 25 11:35:59 CEST 2018
There is info about VFIO and IOMMU for DPDK in the
Linux Getting Started Guide:
Generally, you need to follow section 8.1.3 for IOMMU:
8.1.3 Linux boot command line
If it wants to use VFIO, use the following additional grub parameters:
And follow section 4.2 (VFIO)
For VFIO you need modprobe vfio-pci
And use it with --bind when running the dpdk-devnbind.py script.
From: Martin Drašar [mailto:drasar at ics.muni.cz]
Sent: Monday, June 25, 2018 11:24
To: Rosen, Rami <rami.rosen at intel.com>
Cc: Stephen Hemminger <stephen at networkplumber.org>; Avi Cohen (A) <avi.cohen at huawei.com>; users at dpdk.org
Subject: Re: [dpdk-users] DPDK 17.05 does not find X510 card
Stephen, thanks four input. I have already read that part of documentation Rami posted, but that ‘may disallow’ left me hoping there are some situations when it is not disallowed. If it is indeed not possible using the igb uio, I will have to do it with the vfio. However, and that is the reason why I was doing the dances with the kernel, I was not able to find a guide to bind the cards to vfio in non-virtual environent, other than a notice that all ports must be bound to vfio at once.
Can you point me to some resources regarding the iommu and vfio?
23. 6. 2018 v 15:00, Rosen, Rami <rami.rosen at intel.com>:
> Hi all,
>> Secure boot should work with VFIO. As long as you have an IOMMU, VFIO
>> is a much better solution.
> Stephen is right; moreover, DPDK documentation says explicitly that
> "If UEFI secure boot is enabled, the Linux kernel may disallow the use of UIO on the system. Therefore, devices for use by DPDK should be bound to the vfio-pci kernel module rather than igb_uio or uio_pci_generic. For more details see Binding and Unbinding Network Ports to/from the Kernel Modules below."
> See section 4.1, "UIO", in:
> Rami Rosen
More information about the users