numam-dpdk/drivers/bus/auxiliary
Bing Zhao bc96714996 bus/auxiliary: prevent device from being probed again
The device on auxiliary bus doesn't support being probed again
without being removed firstly. The PMD will detect and return error
for this unsupported operation. Some of the resources would be
cleared wrongly. When quitting, there will be unexpected error like
crash.

To prevent this, the device driver will be checked before probing a
device.

Fixes: 1afce3086c ("bus/auxiliary: introduce auxiliary bus")
CC: stable@dpdk.org

Signed-off-by: Bing Zhao <bingz@nvidia.com>
Reviewed-by: Gregory Etelson <getelson@nvidia.com>
Reviewed-by: Matan Azrad <matan@nvidia.com>
2022-11-14 11:15:44 +01:00
..
linux drivers/bus: set device NUMA node to unknown by default 2022-10-06 21:26:55 +02:00
auxiliary_common.c bus/auxiliary: prevent device from being probed again 2022-11-14 11:15:44 +01:00
auxiliary_params.c dev: hide driver object 2022-09-23 16:14:34 +02:00
bus_auxiliary_driver.h dev: hide driver object 2022-09-23 16:14:34 +02:00
meson.build bus/auxiliary: make driver-only headers private 2022-09-23 16:14:34 +02:00
private.h bus: hide bus object 2022-09-23 16:14:34 +02:00
version.map bus/auxiliary: make driver-only headers private 2022-09-23 16:14:34 +02:00