numam-dpdk/drivers/bus
Thomas Monjalon 391797f042 drivers/bus: move driver assignment to end of probing
The PCI mapping requires to know the PCI driver to use,
even before the probing is done. That's why the PCI driver is
referenced early inside the PCI device structure. See
commit 1d20a073fa ("bus/pci: reference driver structure before mapping")

However the rte_driver does not need to be referenced in rte_device
before the device probing is done.
By moving back this assignment at the end of the device probing,
it becomes possible to make clear the status of a rte_device.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
2018-10-17 10:26:59 +02:00
..
dpaa dpaa: enable dpaax library 2018-10-16 14:54:25 +02:00
fslmc net/dpaa2: optimize fd reset in Tx path 2018-10-16 14:54:26 +02:00
ifpga drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
pci drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
vdev drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
vmbus drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
Makefile bus/vmbus: add Hyper-V virtual bus support 2018-07-13 23:48:07 +02:00
meson.build bus/vmbus: add Hyper-V virtual bus support 2018-07-13 23:48:07 +02:00