ethdev: do not scan all PCI devices on attach
authorDavid Marchand <david.marchand@6wind.com>
Tue, 20 Sep 2016 12:41:23 +0000 (18:11 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Oct 2016 14:33:29 +0000 (16:33 +0200)
commit284576e3f623b388b7f47377b94c33891b54ab1f
treeef2f86bd6ff620c695304975600ba897fff022a5
parentaffe1cdc009cd35a8122d8b1d5975f445d8f3d7a
ethdev: do not scan all PCI devices on attach

No need to scan all devices, we only need to update the device being
attached.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_eal/common/eal_common_pci.c
lib/librte_ether/rte_ethdev.c