[dpdk-dev] [PATCH] pci: fix non-Intel devices probing

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Sep 16 22:38:47 CEST 2013


> There is no need to check for bars mapping, especially BAR0 is not required.
> If bars mapping failed, then pci_uio_map_resource will fail and we won't
> reach this check. So get rid of BAR0 check.
> Besides, pci_uio_map_resource should only be called for Intel devices.
> The flag RTE_PCI_DRV_NEED_IGB_UIO is set for all Intel devices, even when
> RTE_EAL_UNBIND_PORTS is disabled.

Addendum:
This patch is needed to run virtio-net-pmd and vmxnet3-usermap with DPDK 1.4.


More information about the dev mailing list