Go to the source code of this file.
|
| DOCA_EXPERIMENTAL doca_error_t | doca_sta_subsystem_create (struct doca_sta *sta, const char *nqn, struct doca_sta_subs_handle **subs_handle) |
| |
| DOCA_EXPERIMENTAL doca_error_t | doca_sta_subsystem_add_dev (struct doca_sta_subs_handle *subs_handle, const struct doca_dev *dev) |
| |
| DOCA_EXPERIMENTAL doca_error_t | doca_sta_subsystem_task_rm_ns_set_conf (struct doca_sta *sta, doca_sta_task_completion_cb_t task_completion_cb, doca_sta_task_completion_cb_t task_error_cb) |
| | This method sets the STA remove namespace tasks configuration. More...
|
| |
| DOCA_EXPERIMENTAL doca_error_t | doca_sta_subsystem_destroy (struct doca_sta_subs_handle *subs_handle) |
| |
| DOCA_EXPERIMENTAL doca_error_t | doca_sta_subsystem_add_ns (struct doca_sta_subs_handle *subs_handle, uint32_t fe_ns_id, uint32_t ns_block_size, uint32_t be_ns_id, struct doca_sta_be_handle *be_handle, struct doca_sta_ns_handle **ns_handle) |
| |
| DOCA_EXPERIMENTAL doca_error_t | doca_sta_subsystem_rm_ns (struct doca_sta_subs_handle *subs_handle, struct doca_sta_ns_handle *ns_handle) |
| |
| DOCA_EXPERIMENTAL doca_error_t | doca_sta_subsystem_task_rm_ns_alloc_init (struct doca_sta_subs_handle *subs_handle, struct doca_sta_ns_handle *ns_handle, union doca_data user_data, struct doca_sta_producer_task_send **task) |
| | This method allocates and initializes a STA remove namespace task. More...
|
| |
◆ doca_sta_subsystem_add_dev()
◆ doca_sta_subsystem_add_ns()
| DOCA_EXPERIMENTAL doca_error_t doca_sta_subsystem_add_ns |
( |
struct doca_sta_subs_handle * |
subs_handle, |
|
|
uint32_t |
fe_ns_id, |
|
|
uint32_t |
ns_block_size, |
|
|
uint32_t |
be_ns_id, |
|
|
struct doca_sta_be_handle * |
be_handle, |
|
|
struct doca_sta_ns_handle ** |
ns_handle |
|
) |
| |
◆ doca_sta_subsystem_create()
◆ doca_sta_subsystem_destroy()
◆ doca_sta_subsystem_rm_ns()
◆ doca_sta_subsystem_task_rm_ns_alloc_init()
| DOCA_EXPERIMENTAL doca_error_t doca_sta_subsystem_task_rm_ns_alloc_init |
( |
struct doca_sta_subs_handle * |
subs_handle, |
|
|
struct doca_sta_ns_handle * |
ns_handle, |
|
|
union doca_data |
user_data, |
|
|
struct doca_sta_producer_task_send ** |
task |
|
) |
| |
This method allocates and initializes a STA remove namespace task.
- Parameters
-
| [in] | subs_handle | The subsystem handle |
| [in] | ns_handle | The handle of the namespace that should be removed |
| [in] | user_data | doca_data to attach to the task |
| [out] | task | memcpy task to allocate |
- Returns
- DOCA_SUCCESS - in case of success. doca_error code - in case of failure:
- DOCA_ERROR_NO_MEMORY - No more tasks to allocate
◆ doca_sta_subsystem_task_rm_ns_set_conf()
This method sets the STA remove namespace tasks configuration.
- Parameters
-
| [in] | sta | The STA context to config |
| [in] | task_completion_cb | Task completion callback |
| [in] | task_error_cb | Task error callback |
- Returns
- DOCA_SUCCESS - in case of success. Error code - in case of failure. see doca_error_t.