Pablo de Lara eea0730f18 app/test: fix pci registration
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@intel.com>
2014-11-05 22:18:31 +01:00
2014-11-05 22:18:31 +01:00
2014-11-05 00:21:34 +01:00
2014-11-03 18:13:05 +01:00
2014-11-05 00:21:34 +01:00
2014-10-17 17:44:06 +02:00
2014-09-03 13:28:26 +02:00
2013-03-07 10:57:42 +01:00
2014-06-11 00:29:34 +02:00
2013-07-25 14:43:06 +02:00
2014-06-11 00:29:34 +02:00
Description
No description provided
128 MiB
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%