If the user asked for a specific PCI address in spdk_nvme_probe(), we need to return 1, not 0, for the other PCI addresses that don't match when enumerating. 0 means to attach the PCI driver, whereas 1 means to continue enumerating. With the previous behavior of returning 0, all NVMe devices would be attached to the DPDK PCI driver, even if the user did not request for them to be probed, and further calls to spdk_nvme_probe() would not find any devices. Change-Id: Ifbbcd7d1abe8ab535b6957855172e66a3e69fbe4 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr.c | ||
nvme_internal.h | ||
nvme_ns_cmd.c | ||
nvme_ns.c | ||
nvme_pcie.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_transport.c | ||
nvme_uevent.c | ||
nvme_uevent.h | ||
nvme.c |