nvmf: move internal APIs out of nvmf.h
Change-Id: I94425fc4e394bb5033237ddc9002cd464c3f621f Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
1bb4fac463
commit
90b6ad1f36
@ -42,17 +42,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
|
||||||
nvmf_tgt_init(char *nodebase, int max_in_capsule_data, int max_sessions,
|
|
||||||
int max_queue_depth, int max_conn_per_sess, int max_recv_seg_len, int listen_port);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
spdk_nvmf_check_pools(void);
|
spdk_nvmf_check_pools(void);
|
||||||
|
|
||||||
int
|
|
||||||
nvmf_initialize(void);
|
|
||||||
|
|
||||||
void
|
|
||||||
nvmf_shutdown(void);
|
|
||||||
|
|
||||||
#endif /* __NVMF_H__ */
|
#endif /* __NVMF_H__ */
|
||||||
|
@ -179,6 +179,13 @@ struct spdk_nvmf_globals {
|
|||||||
void
|
void
|
||||||
nvmf_complete_cmd(void *rsp, const struct spdk_nvme_cpl *cmp);
|
nvmf_complete_cmd(void *rsp, const struct spdk_nvme_cpl *cmp);
|
||||||
|
|
||||||
|
|
||||||
|
int nvmf_tgt_init(char *nodebase, int max_in_capsule_data, int max_sessions, int max_queue_depth,
|
||||||
|
int max_conn_per_sess, int max_recv_seg_len, int listen_port);
|
||||||
|
|
||||||
|
int nvmf_initialize(void);
|
||||||
|
void nvmf_shutdown(void);
|
||||||
|
|
||||||
extern struct spdk_nvmf_globals g_nvmf_tgt;
|
extern struct spdk_nvmf_globals g_nvmf_tgt;
|
||||||
|
|
||||||
#endif /* __NVMF_INTERNAL_H__ */
|
#endif /* __NVMF_INTERNAL_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user