Hi, all While I check the maillist, I found a patch:
[dpdk-dev] [PATCH v3] vfio: Fix overflow while assigning vfio BAR region offset and size This patch has fixed this issue :), and will be merged. This patch is same with mine. So I will not post the patch again. Thanks, Michael On 7/11/2015 1:24 AM, Stephen Hemminger wrote: > 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). > >