e6cf7bee1c
For PCI devices presented through igb_uio, pcidev->mem_resource[] is not populated when the device is initialized for secondary process. Initialize pcidev->mem_resource[] with pci-bar mapped addresses. Fixes: eee16c964cd6 ("pci: support multiple PCI regions per device") Cc: stable@dpdk.org Signed-off-by: Vijaya Mohan Guvva <vijay1054@gmail.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>