[dpdk-dev] [RFC] vfio: only map regions VFIO supports

Stephen Hemminger stephen at networkplumber.org
Fri Jul 10 19:24:48 CEST 2015


On Fri, 10 Jul 2015 07:54:10 +0000
"Qiu, Michael" <michael.qiu at intel.com> wrote:

> Hi, Stephen
> 
> This patch does not work for fm10k with vfio, see error below:
> 
> EAL: PCI device 0000:84:00.0 on NUMA socket 1
> EAL:   probe driver: 8086:15a4 rte_pmd_fm10k
> EAL:   PCI memory mapped at 0x7f1980000000
> EAL: Trying to map BAR 2 that contains the MSI-X table. Trying offsets:
> 0000:0000, 1000:1000
> EAL:   PCI memory mapped at 0x7f1980401000
> EAL: pci_map_resource(): cannot mmap(105, 0x7f1980402000, 0x4000000,
> 0x0): Invalid argument (0xffffffffffffffff)
> EAL:   0000:84:00.0 mapping BAR4 failed: Invalid argument
> EAL: Error - exiting with code: 1
>   Cause: Requested device 0000:84:00.0 cannot be used

Yes. The patch doesn't solve the problem (but might be needed in some future weird hw).



More information about the dev mailing list