Loading
external_code/nvme: device attach/detach
The NVMe devices can now be enumerated, attached, and detached. To simplify the driver, the probing step has been omitted - all available controllers are attached and need to be detached later. The driver registers itself as a PCI driver via a call to SPDK_PCI_DRIVER_REGISTER() and then uses spdk_pci_enumerate() to enumerate available NVMe devices and attach them. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Id03e2f4365f4f7ca98178be70278d0c4b7b34b26 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6664 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>