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

Burakov, Anatoly anatoly.burakov at intel.com
Tue Apr 15 10:39:49 CEST 2014


> 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.
> 
> Signed-off-by: David Marchand <david.marchand at 6wind.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

Best regards,
Anatoly Burakov
DPDK SW Engineer

--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare




More information about the dev mailing list