spdk_nvme_accel_fn_table Struct Reference

Function table for the NVMe accelerator device. More...

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. More...
 
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.
 

Detailed Description

Function table for the NVMe accelerator device.

This table provides a set of APIs to allow user to leverage accelerator functions.

Field Documentation

◆ table_size

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.


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