[dpdk-dev] [PATCH 1/3] pci: pci_switch_module cleanup

2014-04-15 Thread Burakov, Anatoly
> The pci_switch_module() function should only do what its name tells: unbind > pci devices and rebind them on the specified kernel driver. > Hence, it can not call pci_uio_map_resource(). > > Call to pci_uio_map_resource() should be moved to > rte_eal_pci_probe_one_driver() so that we can factori

[dpdk-dev] [PATCH 1/3] pci: pci_switch_module cleanup

2014-04-14 Thread David Marchand
The pci_switch_module() function should only do what its name tells: unbind pci devices and rebind them on the specified kernel driver. Hence, it can not call pci_uio_map_resource(). Call to pci_uio_map_resource() should be moved to rte_eal_pci_probe_one_driver() so that we can factorize code. Si