5 #ifndef _RTE_BBDEV_OP_H_
6 #define _RTE_BBDEV_OP_H_
29 #define RTE_BBDEV_C_SUBBLOCK (32)
31 #define RTE_BBDEV_MAX_TB_SIZE (391656)
33 #define RTE_BBDEV_MAX_CB_SIZE (6144)
35 #define RTE_BBDEV_MIN_CB_SIZE (40)
37 #define RTE_BBDEV_MAX_KW (18528)
44 #define RTE_BBDEV_MAX_CODE_BLOCKS (64)
109 RTE_BBDEV_TURBO_DEC_TB_CRC_24B_KEEP = (1ULL << 16)
125 RTE_BBDEV_TURBO_ENC_SCATTER_GATHER = (1ULL << 5)
129 struct rte_bbdev_op_data {
183 struct rte_bbdev_op_dec_cb_params {
249 struct rte_bbdev_op_turbo_dec {
251 struct rte_bbdev_op_data input;
255 struct rte_bbdev_op_data hard_output;
257 struct rte_bbdev_op_data soft_output;
280 uint8_t code_block_mode;
283 struct rte_bbdev_op_dec_cb_params cb_params;
289 struct rte_bbdev_op_enc_cb_params {
368 struct rte_bbdev_op_data output;
394 uint8_t num_buffers_soft_out;
398 struct rte_bbdev_op_cap_turbo_enc {
400 uint32_t capability_flags;
401 uint8_t num_buffers_src;
402 uint8_t num_buffers_dst;
416 RTE_BBDEV_DATA_ERROR,
435 struct rte_bbdev_op_turbo_dec turbo_dec;
439 struct rte_bbdev_op_cap {
443 struct rte_bbdev_op_cap_turbo_enc turbo_enc;
448 struct rte_bbdev_op_pool_private {
487 unsigned int num_elements,
unsigned int cache_size,
508 struct rte_bbdev_op_pool_private *priv;
512 priv = (
struct rte_bbdev_op_pool_private *)
543 struct rte_bbdev_op_pool_private *priv;
547 priv = (
struct rte_bbdev_op_pool_private *)