Loading...
Searching...
No Matches
spdk_nvme_transport_ops Struct Reference
Collaboration diagram for spdk_nvme_transport_ops:

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)
 
int(* ctrlr_set_reg_4_async )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, uint32_t value, spdk_nvme_reg_cb cb_fn, void *cb_arg)
 
int(* ctrlr_set_reg_8_async )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, uint64_t value, spdk_nvme_reg_cb cb_fn, void *cb_arg)
 
int(* ctrlr_get_reg_4_async )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, spdk_nvme_reg_cb cb_fn, void *cb_arg)
 
int(* ctrlr_get_reg_8_async )(struct spdk_nvme_ctrlr *ctrlr, uint32_t offset, spdk_nvme_reg_cb cb_fn, void *cb_arg)
 
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)
 
int(* ctrlr_enable_pmr )(struct spdk_nvme_ctrlr *ctrlr)
 
int(* ctrlr_disable_pmr )(struct spdk_nvme_ctrlr *ctrlr)
 
void *(* ctrlr_map_pmr )(struct spdk_nvme_ctrlr *ctrlr, size_t *size)
 
int(* ctrlr_unmap_pmr )(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)
 
int(* qpair_iterate_requests )(struct spdk_nvme_qpair *qpair, int(*iter_fn)(struct nvme_request *req, void *arg), void *arg)
 
void(* admin_qpair_abort_aers )(struct spdk_nvme_qpair *qpair)
 
struct spdk_nvme_transport_poll_group *(* poll_group_create )(void)
 
struct spdk_nvme_transport_poll_group *(* qpair_get_optimal_poll_group )(struct spdk_nvme_qpair *qpair)
 
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)
 
int(* poll_group_get_stats )(struct spdk_nvme_transport_poll_group *tgroup, struct spdk_nvme_transport_poll_group_stat **stats)
 
void(* poll_group_free_stats )(struct spdk_nvme_transport_poll_group *tgroup, struct spdk_nvme_transport_poll_group_stat *stats)
 
int(* ctrlr_get_memory_domains )(const struct spdk_nvme_ctrlr *ctrlr, struct spdk_memory_domain **domains, int array_size)
 
int(* ctrlr_ready )(struct spdk_nvme_ctrlr *ctrlr)
 
volatile struct spdk_nvme_registers *(* ctrlr_get_registers )(struct spdk_nvme_ctrlr *ctrlr)
 
int(* ctrlr_scan_attached )(struct spdk_nvme_probe_ctx *probe_ctx)
 

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