nvmf: Rename spdk_nvmf_globals to spdk_nvmf_tgt
Change-Id: Iaa1cd5e2f89d82f34b5d3d9fcb914a4f51c5d1e1 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
3cc3f2646a
commit
9dd801c86c
@ -46,7 +46,7 @@ SPDK_LOG_REGISTER_TRACE_FLAG("nvmf", SPDK_TRACE_NVMF)
|
||||
|
||||
#define MAX_SUBSYSTEMS 4
|
||||
|
||||
struct spdk_nvmf_globals g_nvmf_tgt;
|
||||
struct spdk_nvmf_tgt g_nvmf_tgt;
|
||||
|
||||
int
|
||||
spdk_nvmf_tgt_init(uint16_t max_queue_depth, uint16_t max_queues_per_sess,
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
#define SPDK_NVMF_DEFAULT_NUM_SESSIONS_PER_LCORE 1
|
||||
|
||||
struct spdk_nvmf_globals {
|
||||
struct spdk_nvmf_tgt {
|
||||
uint16_t max_queue_depth;
|
||||
uint16_t max_queues_per_session;
|
||||
|
||||
@ -63,7 +63,7 @@ nvmf_u32log2(uint32_t x)
|
||||
return 31u - __builtin_clz(x);
|
||||
}
|
||||
|
||||
extern struct spdk_nvmf_globals g_nvmf_tgt;
|
||||
extern struct spdk_nvmf_tgt g_nvmf_tgt;
|
||||
|
||||
struct spdk_nvmf_listen_addr *spdk_nvmf_listen_addr_create(char *trname, char *traddr,
|
||||
char *trsvcid);
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
SPDK_LOG_REGISTER_TRACE_FLAG("nvmf", SPDK_TRACE_NVMF)
|
||||
|
||||
struct spdk_nvmf_globals g_nvmf_tgt;
|
||||
struct spdk_nvmf_tgt g_nvmf_tgt;
|
||||
|
||||
struct spdk_nvmf_subsystem *
|
||||
spdk_nvmf_find_subsystem_with_cntlid(uint16_t cntlid)
|
||||
|
@ -46,7 +46,7 @@ const struct spdk_nvmf_ctrlr_ops spdk_nvmf_virtual_ctrlr_ops;
|
||||
|
||||
SPDK_LOG_REGISTER_TRACE_FLAG("nvmf", SPDK_TRACE_NVMF)
|
||||
|
||||
struct spdk_nvmf_globals g_nvmf_tgt;
|
||||
struct spdk_nvmf_tgt g_nvmf_tgt;
|
||||
|
||||
struct spdk_nvmf_listen_addr *
|
||||
spdk_nvmf_listen_addr_create(char *trname, char *traddr, char *trsvcid)
|
||||
|
Loading…
Reference in New Issue
Block a user