numam-dpdk/drivers
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
..
baseband baseband/null: add in meson build 2018-09-18 22:53:35 +02:00
bus drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
common common/dpaax: add library for PA/VA translation table 2018-10-16 14:54:25 +02:00
compress compress/qat: remove unnecessary assignment 2018-09-27 13:40:22 +02:00
crypto bus/fslmc: support 32 enqueues/dequeues for LX2 2018-10-16 14:54:26 +02:00
event bus/fslmc: support 32 enqueues/dequeues for LX2 2018-10-16 14:54:26 +02:00
mempool bus/fslmc: upgrade mc FW APIs to 10.10.0 2018-10-16 14:54:25 +02:00
net drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
raw bus/fslmc: upgrade mc FW APIs to 10.10.0 2018-10-16 14:54:25 +02:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build baseband/null: add in meson build 2018-09-18 22:53:35 +02:00