Function table for the NVMe accelerator device. More...
#include <nvme.h>
Data Fields | |
size_t | table_size |
The size of spdk_nvme_accel_fun_table according to the caller of this library is used for ABI compatibility. | |
void(* | submit_accel_crc32c )(void *ctx, uint32_t *dst, struct iovec *iov, uint32_t iov_cnt, uint32_t seed, spdk_nvme_accel_completion_cb cb_fn, void *cb_arg) |
The accelerated crc32c function. | |
void(* | finish_sequence )(void *seq, spdk_nvme_accel_completion_cb cb_fn, void *cb_arg) |
Finish an accel sequence. | |
void(* | reverse_sequence )(void *seq) |
Reverse an accel sequence. | |
void(* | abort_sequence )(void *seq) |
Abort an accel sequence. | |
int(* | append_crc32c )(void *ctx, void **seq, uint32_t *dst, struct iovec *iovs, uint32_t iovcnt, struct spdk_memory_domain *memory_domain, void *domain_ctx, uint32_t seed, spdk_nvme_accel_step_cb cb_fn, void *cb_arg) |
Append a crc32c operation to a sequence. | |
Function table for the NVMe accelerator device.
This table provides a set of APIs to allow user to leverage accelerator functions.
size_t spdk_nvme_accel_fn_table::table_size |
The size of spdk_nvme_accel_fun_table according to the caller of this library is used for ABI compatibility.
The library uses this field to know how many fields in this structure are valid. And the library will populate any remaining fields with default values. Newly added fields should be put at the end of the struct.