5 #ifndef _RTE_BBDEV_OP_H_
6 #define _RTE_BBDEV_OP_H_
28 #define RTE_BBDEV_MAX_CODE_BLOCKS 64
89 RTE_BBDEV_TURBO_DEC_SCATTER_GATHER = (1ULL << 15)
105 RTE_BBDEV_TURBO_ENC_SCATTER_GATHER = (1ULL << 5)
109 struct rte_bbdev_op_data {
163 struct rte_bbdev_op_dec_cb_params {
229 struct rte_bbdev_op_turbo_dec {
231 struct rte_bbdev_op_data input;
235 struct rte_bbdev_op_data hard_output;
237 struct rte_bbdev_op_data soft_output;
260 uint8_t code_block_mode;
263 struct rte_bbdev_op_dec_cb_params cb_params;
269 struct rte_bbdev_op_enc_cb_params {
348 struct rte_bbdev_op_data output;
370 uint8_t num_buffers_soft_out;
374 struct rte_bbdev_op_cap_turbo_enc {
376 uint32_t capability_flags;
377 uint8_t num_buffers_src;
378 uint8_t num_buffers_dst;
392 RTE_BBDEV_DATA_ERROR,
411 struct rte_bbdev_op_turbo_dec turbo_dec;
415 struct rte_bbdev_op_cap {
419 struct rte_bbdev_op_cap_turbo_enc turbo_enc;
424 struct rte_bbdev_op_pool_private {
463 unsigned int num_elements,
unsigned int cache_size,
484 struct rte_bbdev_op_pool_private *priv;
488 priv = (
struct rte_bbdev_op_pool_private *)
519 struct rte_bbdev_op_pool_private *priv;
523 priv = (
struct rte_bbdev_op_pool_private *)