X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fbsdapp%2Feal%2Feal_pci.c;h=a8945e4a977ec101ed98bfb2ac3dceee3b8795b3;hb=99d44c7e26aa07479a1368fca4d9c7a622a2ccfc;hp=5d8bcbd3d3e130ff03f1199bd8af1ff4a980754d;hpb=8e5f9df258e5f149a31847fab08a334541f7331a;p=dpdk.git diff --git a/lib/librte_eal/bsdapp/eal/eal_pci.c b/lib/librte_eal/bsdapp/eal/eal_pci.c index 5d8bcbd3d3..a8945e4a97 100644 --- a/lib/librte_eal/bsdapp/eal/eal_pci.c +++ b/lib/librte_eal/bsdapp/eal/eal_pci.c @@ -221,8 +221,7 @@ pci_uio_map_resource(struct rte_pci_device *dev) dev->intr_handle.fd = -1; /* secondary processes - use already recorded details */ - if ((rte_eal_process_type() != RTE_PROC_PRIMARY) && - (dev->id.vendor_id != PCI_VENDOR_ID_QUMRANET)) + if (rte_eal_process_type() != RTE_PROC_PRIMARY) return (pci_uio_map_secondary(dev)); rte_snprintf(devname, sizeof(devname), "/dev/uio@pci:%u:%u:%u", @@ -234,12 +233,6 @@ pci_uio_map_resource(struct rte_pci_device *dev) return -1; } - if(dev->id.vendor_id == PCI_VENDOR_ID_QUMRANET) { - /* I/O port address already assigned */ - /* rte_virtio_pmd does not need any other bar even if available */ - return (0); - } - /* allocate the mapping details for secondary processes*/ if ((uio_res = rte_zmalloc("UIO_RES", sizeof (*uio_res), 0)) == NULL) { RTE_LOG(ERR, EAL,