app/nvmf_tgt: rename spdk_nvmf_parse_subsystem_for_rpc
Change-Id: Ie07b8e593b757bcd1c796a2892292bffce2b77d7 Signed-off-by: GangCao <gang.cao@intel.com>
This commit is contained in:
parent
0f95673d82
commit
6e8b6aea28
@ -394,7 +394,7 @@ spdk_nvmf_parse_subsystem(struct spdk_conf_section *sp)
|
||||
num_devs++;
|
||||
}
|
||||
|
||||
return spdk_nvmf_parse_subsystem_for_rpc(nqn, mode_str, lcore,
|
||||
return spdk_nvmf_construct_subsystem(nqn, mode_str, lcore,
|
||||
num_listen_addrs, listen_addrs,
|
||||
num_hosts, hosts,
|
||||
bdf, sn,
|
||||
@ -441,7 +441,7 @@ spdk_nvmf_parse_conf(void)
|
||||
}
|
||||
|
||||
int
|
||||
spdk_nvmf_parse_subsystem_for_rpc(const char *name,
|
||||
spdk_nvmf_construct_subsystem(const char *name,
|
||||
const char *mode_str, int32_t lcore,
|
||||
int num_listen_addresses, struct rpc_listen_address *addresses,
|
||||
int num_hosts, char *hosts[], const char *bdf,
|
||||
|
@ -303,7 +303,7 @@ spdk_rpc_construct_nvmf_subsystem(struct spdk_jsonrpc_server_conn *conn,
|
||||
goto invalid;
|
||||
}
|
||||
|
||||
ret = spdk_nvmf_parse_subsystem_for_rpc(req.nqn, req.mode, req.core,
|
||||
ret = spdk_nvmf_construct_subsystem(req.nqn, req.mode, req.core,
|
||||
req.listen_addresses.num_listen_address,
|
||||
req.listen_addresses.addresses,
|
||||
req.hosts.num_hosts, req.hosts.hosts, req.pci_address,
|
||||
|
@ -77,7 +77,7 @@ struct nvmf_tgt_subsystem *nvmf_tgt_create_subsystem(const char *name,
|
||||
uint32_t lcore);
|
||||
|
||||
int
|
||||
spdk_nvmf_parse_subsystem_for_rpc(const char *name,
|
||||
spdk_nvmf_construct_subsystem(const char *name,
|
||||
const char *mode, int32_t lcore,
|
||||
int num_listen_addresses, struct rpc_listen_address *addresses,
|
||||
int num_hosts, char *hosts[], const char *bdf,
|
||||
|
Loading…
Reference in New Issue
Block a user