spdk_nvme_transport_ops Struct Reference

Data Fields

char name [SPDK_NVMF_TRSTRING_MAX_LEN+1]
 
enum spdk_nvme_transport_type type
 
struct spdk_nvme_ctrlr *(* ctrlr_construct )(const struct spdk_nvme_transport_id *trid, const struct spdk_nvme_ctrlr_opts *opts, void *devhandle)
 
int(* ctrlr_scan )(struct spdk_nvme_probe_ctx *probe_ctx, bool direct_connect)
 
int(* ctrlr_destruct )(struct spdk_nvme_ctrlr *ctrlr)
 
int(* ctrlr_enable )(struct spdk_nvme_ctrlr *ctrlr)
 
int(* ctrlr_set_reg_4 )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, uint32_t value)
 
int(* ctrlr_set_reg_8 )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, uint64_t value)
 
int(* ctrlr_get_reg_4 )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, uint32_t *value)
 
int(* ctrlr_get_reg_8 )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, uint64_t *value)
 
uint32_t(* ctrlr_get_max_xfer_size )(struct spdk_nvme_ctrlr *ctrlr)
 
uint16_t(* ctrlr_get_max_sges )(struct spdk_nvme_ctrlr *ctrlr)
 
int(* ctrlr_reserve_cmb )(struct spdk_nvme_ctrlr *ctrlr)
 
void *(* ctrlr_map_cmb )(struct spdk_nvme_ctrlr *ctrlr, size_t *size)
 
int(* ctrlr_unmap_cmb )(struct spdk_nvme_ctrlr *ctrlr)
 
struct spdk_nvme_qpair *(* ctrlr_create_io_qpair )(struct spdk_nvme_ctrlr *ctrlr, uint16_t qid, const struct spdk_nvme_io_qpair_opts *opts)
 
int(* ctrlr_delete_io_qpair )(struct spdk_nvme_ctrlr *ctrlr, struct spdk_nvme_qpair *qpair)
 
int(* ctrlr_connect_qpair )(struct spdk_nvme_ctrlr *ctrlr, struct spdk_nvme_qpair *qpair)
 
void(* ctrlr_disconnect_qpair )(struct spdk_nvme_ctrlr *ctrlr, struct spdk_nvme_qpair *qpair)
 
void(* qpair_abort_reqs )(struct spdk_nvme_qpair *qpair, uint32_t dnr)
 
int(* qpair_reset )(struct spdk_nvme_qpair *qpair)
 
int(* qpair_submit_request )(struct spdk_nvme_qpair *qpair, struct nvme_request *req)
 
int32_t(* qpair_process_completions )(struct spdk_nvme_qpair *qpair, uint32_t max_completions)
 
void(* admin_qpair_abort_aers )(struct spdk_nvme_qpair *qpair)
 
struct spdk_nvme_transport_poll_group *(* poll_group_create )(void)
 
int(* poll_group_add )(struct spdk_nvme_transport_poll_group *tgroup, struct spdk_nvme_qpair *qpair)
 
int(* poll_group_remove )(struct spdk_nvme_transport_poll_group *tgroup, struct spdk_nvme_qpair *qpair)
 
int(* poll_group_connect_qpair )(struct spdk_nvme_qpair *qpair)
 
int(* poll_group_disconnect_qpair )(struct spdk_nvme_qpair *qpair)
 
int64_t(* poll_group_process_completions )(struct spdk_nvme_transport_poll_group *tgroup, uint32_t completions_per_qpair, spdk_nvme_disconnected_qpair_cb disconnected_qpair_cb)
 
int(* poll_group_destroy )(struct spdk_nvme_transport_poll_group *tgroup)
 

The documentation for this struct was generated from the following file: