nvme/fio_plugin: make NVMe-oF check generic
Any transport that is not PCIe is a NVMe over Fabrics transport and requires a subsystem NQN. Change-Id: I68bfe49086f7f633fea8589ac15069327c4a4aa9 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/367290 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
144ba3a1cb
commit
83289767cd
@ -260,7 +260,7 @@ static int spdk_fio_setup(struct thread_data *td)
|
||||
continue;
|
||||
}
|
||||
spdk_pci_addr_fmt(trid.traddr, sizeof(trid.traddr), &pci_addr);
|
||||
} else if (trid.trtype == SPDK_NVME_TRANSPORT_RDMA) {
|
||||
} else {
|
||||
if (trid.subnqn[0] == '\0') {
|
||||
snprintf(trid.subnqn, sizeof(trid.subnqn), "%s",
|
||||
SPDK_NVMF_DISCOVERY_NQN);
|
||||
|
Loading…
Reference in New Issue
Block a user