5 #ifndef _RTE_BBDEV_OP_H_
6 #define _RTE_BBDEV_OP_H_
29 #define RTE_BBDEV_TURBO_C_SUBBLOCK (32)
31 #define RTE_BBDEV_TURBO_MAX_TB_SIZE (391656)
33 #define RTE_BBDEV_TURBO_MAX_CB_SIZE (6144)
35 #define RTE_BBDEV_LDPC_MAX_CB_SIZE (8448)
37 #define RTE_BBDEV_LDPC_MIN_CB_SIZE (40)
39 #define RTE_BBDEV_LDPC_E_MAX_MBUF (64000)
41 #define RTE_BBDEV_TURBO_MIN_CB_SIZE (40)
43 #define RTE_BBDEV_TURBO_MAX_KW (18528)
50 #define RTE_BBDEV_TURBO_MAX_CODE_BLOCKS (64)
52 #define RTE_BBDEV_LDPC_MAX_CODE_BLOCKS (256)
747 RTE_BBDEV_DATA_ERROR,
749 RTE_BBDEV_SYNDROME_ERROR
796 struct rte_bbdev_op_pool_private {
837 unsigned int num_elements,
unsigned int cache_size,
859 struct rte_bbdev_op_pool_private *priv;
863 priv = (
struct rte_bbdev_op_pool_private *)
896 struct rte_bbdev_op_pool_private *priv;
900 priv = (
struct rte_bbdev_op_pool_private *)
struct rte_bbdev_op_data hard_output
__rte_experimental 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_ldpcdec_flag_bitmasks
rte_bbdev_op_ldpcenc_flag_bitmasks
static __rte_always_inline void rte_mempool_put_bulk(struct rte_mempool *mp, void *const *obj_table, unsigned int n)
struct rte_bbdev_op_data soft_output
struct rte_bbdev_op_turbo_dec turbo_dec
rte_bbdev_op_td_flag_bitmasks
uint32_t capability_flags
struct rte_bbdev_op_dec_ldpc_tb_params tb_params
struct rte_bbdev_op_dec_turbo_tb_params tb_params
struct rte_bbdev_op_dec_ldpc_cb_params cb_params
struct rte_bbdev_op_enc_turbo_cb_params cb_params
enum rte_bbdev_op_type type
struct rte_bbdev_op_dec_turbo_cb_params cb_params
union rte_bbdev_op_cap::@78 cap
struct rte_bbdev_op_data harq_combined_output
struct rte_bbdev_op_data output
uint16_t num_buffers_soft_out
struct rte_bbdev_op_enc_turbo_tb_params tb_params
uint16_t num_buffers_hard_out
struct rte_bbdev_op_data input
struct rte_mempool * mempool
static __rte_always_inline int rte_mempool_get_bulk(struct rte_mempool *mp, void **obj_table, unsigned int n)
static __rte_experimental void rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops)
struct rte_bbdev_op_data harq_combined_input
uint8_t num_buffers_soft_out
rte_bbdev_op_te_flag_bitmasks
static __rte_experimental void rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op **ops, unsigned int num_ops)
struct rte_bbdev_op_enc_ldpc_tb_params tb_params
struct rte_bbdev_op_data output
uint32_t capability_flags
struct rte_bbdev_op_data hard_output
struct rte_bbdev_op_turbo_enc turbo_enc
struct rte_mempool * mempool
uint32_t capability_flags
static __rte_experimental int rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_enc_op **ops, uint16_t num_ops)
static __rte_experimental int rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_dec_op **ops, uint16_t num_ops)
struct rte_bbdev_op_ldpc_enc ldpc_enc
struct rte_bbdev_op_data input
uint8_t num_buffers_hard_out
static void * rte_mempool_get_priv(struct rte_mempool *mp)
uint32_t capability_flags
char name[RTE_MEMZONE_NAMESIZE]
struct rte_bbdev_op_data soft_output
struct rte_bbdev_op_enc_ldpc_cb_params cb_params
struct rte_bbdev_op_data input
struct rte_bbdev_op_ldpc_dec ldpc_dec
__rte_experimental const char * rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type)
struct rte_bbdev_op_data input