Commit 6e8b6aea authored by GangCao's avatar GangCao Committed by Jim Harris
Browse files

app/nvmf_tgt: rename spdk_nvmf_parse_subsystem_for_rpc



Change-Id: Ie07b8e593b757bcd1c796a2892292bffce2b77d7
Signed-off-by: default avatarGangCao <gang.cao@intel.com>
parent 0f95673d
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -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,
+6 −6
Original line number Diff line number Diff line
@@ -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,
+5 −5
Original line number Diff line number Diff line
@@ -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,