[dpdk-dev] [PATCH v4] igb_uio: fix possible mmap failure for Linux >= v4.5

2016-07-10 Thread Thomas Monjalon
2016-07-05 16:00, Ferruh Yigit: > mmap the iomem range of the PCI device fails for kernels that > enabled CONFIG_IO_STRICT_DEVMEM option: > > EAL: pci_map_resource(): > cannot mmap(39, 0x7f1c5180, 0x10, 0x0): > Invalid argument (0x) > > CONFIG_IO_STRICT_D

[dpdk-dev] [PATCH v4] igb_uio: fix possible mmap failure for Linux >= v4.5

2016-07-05 Thread Ferruh Yigit
mmap the iomem range of the PCI device fails for kernels that enabled CONFIG_IO_STRICT_DEVMEM option: EAL: pci_map_resource(): cannot mmap(39, 0x7f1c5180, 0x10, 0x0): Invalid argument (0x) CONFIG_IO_STRICT_DEVMEM is introduced in Linux v4.5 and not enable