Added interface, nvme_connect(), for connecting an NVMe device specified by a BDF address. Similarly to spdk_nvme_connect(), it returns a pointer to an NVMe controller representing requested device. Under the hood, it uses spdk_nvme_pci_device_attach() to attach the PCI device. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I15c7cabae07539cb97aba810385d26f223abfd6d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6665 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot 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> |
||
---|---|---|
.. | ||
.gitignore | ||
identify.c | ||
Makefile | ||
nvme.c | ||
nvme.h |