numam-dpdk/drivers/net/szedata2
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
..
Makefile net/szedata2: do not affect Ethernet interfaces 2018-04-14 00:43:30 +02:00
meson.build net/szedata2: add to meson build 2018-06-14 19:27:50 +02:00
rte_eth_szedata2.c drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
rte_eth_szedata2.h net/szedata2: support new NIC 2018-04-14 00:43:30 +02:00
rte_pmd_szedata2_version.map szedata2: add new poll mode driver 2015-11-20 17:17:04 +01:00
szedata2_logs.h net/szedata2: implement dynamic logging 2018-04-14 00:40:21 +02:00