]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_pci.c
app/test: fix multi-process when device is bound to uio
[dpdk.git] / app / test / test_pci.c
index 4f0169a0341fbef3fb0be079e0abdcde9af93897..747d8b710f424d2afc09ab9f5579741be25e3e36 100644 (file)
@@ -64,11 +64,6 @@ static unsigned pci_dev_count;
 static int my_driver_init(struct rte_pci_driver *dr,
                          struct rte_pci_device *dev);
 
-/*
- * To test cases where RTE_PCI_DRV_NEED_MAPPING is set, and isn't set, two
- * drivers are created (one with IGB devices, the other with IXGBE devices).
- */
-
 /* IXGBE NICS */
 struct rte_pci_id my_driver_id[] = {
 
@@ -92,7 +87,7 @@ struct rte_pci_driver my_driver = {
        .name = "test_driver",
        .devinit = my_driver_init,
        .id_table = my_driver_id,
-       .drv_flags = RTE_PCI_DRV_NEED_MAPPING,
+       .drv_flags = 0,
 };
 
 struct rte_pci_driver my_driver2 = {