[dpdk-dev] [PATCH] app/test: pci_autotest test fails if there is any device bound to igb_uio driver
thomas.monjalon at 6wind.com
Wed Nov 5 22:42:04 CET 2014
> Since commit a155d430119 ("support link bonding device initialization"),
> rte_eal_pci_probe() is called in rte_eal_init().
> pci_autotest called it to bind devices to the test_driver and test_driver2.
> Therefore, the function is called twice and devices already allocated
> will cause the test fail.
> This patch solves that issue, unregistering all previous drivers before
> calling rte_eal_pci_probe() for the first time, so DPDK does not try
> to allocate data for the devices, binding them to their previous
> drivers again.
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
More information about the dev