5#ifndef _RTE_BBDEV_OP_H_
6#define _RTE_BBDEV_OP_H_
26#define RTE_BBDEV_TURBO_C_SUBBLOCK (32)
28#define RTE_BBDEV_TURBO_MAX_TB_SIZE (391656)
30#define RTE_BBDEV_TURBO_MAX_CB_SIZE (6144)
32#define RTE_BBDEV_LDPC_MAX_CB_SIZE (8448)
34#define RTE_BBDEV_LDPC_MIN_CB_SIZE (40)
36#define RTE_BBDEV_LDPC_E_MAX_MBUF (64000)
38#define RTE_BBDEV_TURBO_MIN_CB_SIZE (40)
40#define RTE_BBDEV_TURBO_MAX_KW (18528)
47#define RTE_BBDEV_TURBO_MAX_CODE_BLOCKS (64)
49#define RTE_BBDEV_LDPC_MAX_CODE_BLOCKS (256)
757 RTE_BBDEV_DATA_ERROR,
759 RTE_BBDEV_SYNDROME_ERROR
806struct rte_bbdev_op_pool_private {
845 unsigned int num_elements,
unsigned int cache_size,
866 struct rte_bbdev_op_pool_private *priv;
870 priv = (
struct rte_bbdev_op_pool_private *)
902 struct rte_bbdev_op_pool_private *priv;
906 priv = (
struct rte_bbdev_op_pool_private *)
static int rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_enc_op **ops, uint16_t num_ops)
static int rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_dec_op **ops, uint16_t num_ops)
rte_bbdev_op_ldpcenc_flag_bitmasks
@ RTE_BBDEV_LDPC_CRC_16_ATTACH
@ RTE_BBDEV_LDPC_ENC_CONCATENATION
@ RTE_BBDEV_LDPC_INTERLEAVER_BYPASS
@ RTE_BBDEV_LDPC_CRC_24B_ATTACH
@ RTE_BBDEV_LDPC_ENC_SCATTER_GATHER
@ RTE_BBDEV_LDPC_CRC_24A_ATTACH
@ RTE_BBDEV_LDPC_RATE_MATCH
@ RTE_BBDEV_LDPC_ENC_INTERRUPTS
@ RTE_BBDEV_OP_TYPE_COUNT
struct rte_mempool * rte_bbdev_op_pool_create(const char *name, enum rte_bbdev_op_type type, unsigned int num_elements, unsigned int cache_size, int socket_id)
rte_bbdev_op_td_flag_bitmasks
@ RTE_BBDEV_TURBO_DEC_SCATTER_GATHER
@ RTE_BBDEV_TURBO_HALF_ITERATION_EVEN
@ RTE_BBDEV_TURBO_CONTINUE_CRC_MATCH
@ RTE_BBDEV_TURBO_DEC_INTERRUPTS
@ RTE_BBDEV_TURBO_DEC_CRC_24B_DROP
@ RTE_BBDEV_TURBO_MAP_DEC
@ RTE_BBDEV_TURBO_POS_LLR_1_BIT_SOFT_OUT
@ RTE_BBDEV_TURBO_SUBBLOCK_DEINTERLEAVE
@ RTE_BBDEV_TURBO_CRC_TYPE_24B
@ RTE_BBDEV_TURBO_SOFT_OUTPUT
@ RTE_BBDEV_TURBO_NEG_LLR_1_BIT_SOFT_OUT
@ RTE_BBDEV_TURBO_DEC_TB_CRC_24B_KEEP
@ RTE_BBDEV_TURBO_NEG_LLR_1_BIT_IN
@ RTE_BBDEV_TURBO_EQUALIZER
@ RTE_BBDEV_TURBO_POS_LLR_1_BIT_IN
@ RTE_BBDEV_TURBO_SOFT_OUT_SATURATE
@ RTE_BBDEV_TURBO_EARLY_TERMINATION
rte_bbdev_op_ldpcdec_flag_bitmasks
@ RTE_BBDEV_LDPC_CRC_TYPE_24A_CHECK
@ RTE_BBDEV_LDPC_LLR_COMPRESSION
@ RTE_BBDEV_LDPC_DEINTERLEAVER_BYPASS
@ RTE_BBDEV_LDPC_HQ_COMBINE_OUT_ENABLE
@ RTE_BBDEV_LDPC_SOFT_OUT_DEINTERLEAVER_BYPASS
@ RTE_BBDEV_LDPC_ITERATION_STOP_ENABLE
@ RTE_BBDEV_LDPC_SOFT_OUT_RM_BYPASS
@ RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_IN_ENABLE
@ RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_LOOPBACK
@ RTE_BBDEV_LDPC_DEC_INTERRUPTS
@ RTE_BBDEV_LDPC_CRC_TYPE_16_CHECK
@ RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_OUT_ENABLE
@ RTE_BBDEV_LDPC_DEC_SCATTER_GATHER
@ RTE_BBDEV_LDPC_SOFT_OUT_ENABLE
@ RTE_BBDEV_LDPC_HARQ_6BIT_COMPRESSION
@ RTE_BBDEV_LDPC_HQ_COMBINE_IN_ENABLE
@ RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_FILLERS
@ RTE_BBDEV_LDPC_CRC_TYPE_24B_CHECK
@ RTE_BBDEV_LDPC_DECODE_BYPASS
@ RTE_BBDEV_LDPC_CRC_TYPE_24B_DROP
rte_bbdev_op_te_flag_bitmasks
@ RTE_BBDEV_TURBO_CRC_24B_ATTACH
@ RTE_BBDEV_TURBO_RATE_MATCH
@ RTE_BBDEV_TURBO_ENC_SCATTER_GATHER
@ RTE_BBDEV_TURBO_ENC_INTERRUPTS
@ RTE_BBDEV_TURBO_CRC_24A_ATTACH
@ RTE_BBDEV_TURBO_RV_INDEX_BYPASS
static void rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops)
@ RTE_BBDEV_TRANSPORT_BLOCK
const char * rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type)
static void rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op **ops, unsigned int num_ops)
static __rte_always_inline int rte_mempool_get_bulk(struct rte_mempool *mp, void **obj_table, unsigned int n)
static __rte_always_inline void rte_mempool_put_bulk(struct rte_mempool *mp, void *const *obj_table, unsigned int n)
static void * rte_mempool_get_priv(struct rte_mempool *mp)
struct rte_bbdev_op_ldpc_dec ldpc_dec
struct rte_mempool * mempool
struct rte_bbdev_op_turbo_dec turbo_dec
struct rte_bbdev_op_ldpc_enc ldpc_enc
struct rte_mempool * mempool
struct rte_bbdev_op_turbo_enc turbo_enc
uint16_t num_buffers_hard_out
uint16_t num_buffers_soft_out
uint32_t capability_flags
uint32_t capability_flags
uint32_t capability_flags
uint8_t num_buffers_soft_out
uint8_t num_buffers_hard_out
uint32_t capability_flags
union rte_bbdev_op_cap::@73 cap
enum rte_bbdev_op_type type
struct rte_bbdev_op_data soft_output
struct rte_bbdev_op_data harq_combined_output
struct rte_bbdev_op_dec_ldpc_tb_params tb_params
struct rte_bbdev_op_data harq_combined_input
struct rte_bbdev_op_data hard_output
struct rte_bbdev_op_data input
struct rte_bbdev_op_dec_ldpc_cb_params cb_params
struct rte_bbdev_op_enc_ldpc_tb_params tb_params
struct rte_bbdev_op_data output
struct rte_bbdev_op_data input
struct rte_bbdev_op_enc_ldpc_cb_params cb_params
struct rte_bbdev_op_data soft_output
struct rte_bbdev_op_dec_turbo_tb_params tb_params
struct rte_bbdev_op_dec_turbo_cb_params cb_params
struct rte_bbdev_op_data hard_output
struct rte_bbdev_op_data input
struct rte_bbdev_op_data output
struct rte_bbdev_op_enc_turbo_tb_params tb_params
struct rte_bbdev_op_data input
struct rte_bbdev_op_enc_turbo_cb_params cb_params
char name[RTE_MEMPOOL_NAMESIZE]