5 #ifndef _RTE_BBDEV_OP_H_ 6 #define _RTE_BBDEV_OP_H_ 20 #include <rte_compat.h> 27 #define RTE_BBDEV_TURBO_C_SUBBLOCK (32) 29 #define RTE_BBDEV_TURBO_MAX_TB_SIZE (391656) 31 #define RTE_BBDEV_TURBO_MAX_CB_SIZE (6144) 33 #define RTE_BBDEV_LDPC_MAX_CB_SIZE (8448) 35 #define RTE_BBDEV_LDPC_MIN_CB_SIZE (40) 37 #define RTE_BBDEV_LDPC_E_MAX_MBUF (64000) 39 #define RTE_BBDEV_TURBO_MIN_CB_SIZE (40) 41 #define RTE_BBDEV_TURBO_MAX_KW (18528) 48 #define RTE_BBDEV_TURBO_MAX_CODE_BLOCKS (64) 50 #define RTE_BBDEV_LDPC_MAX_CODE_BLOCKS (256) 52 #define RTE_BBDEV_MAX_CS_2 (6) 53 #define RTE_BBDEV_MAX_CS (12) 55 #define RTE_BBDEV_MAX_MLD_LAYERS (4) 57 #define RTE_BBDEV_SCPERRB (12) 64 #define RTE_BBDEV_OP_TYPE_SIZE_MAX 8 785 uint8_t window_index[RTE_BBDEV_MAX_CS_2];
811 uint16_t cs_theta_0[RTE_BBDEV_MAX_CS];
813 uint32_t cs_theta_d[RTE_BBDEV_MAX_CS];
815 int8_t time_offset[RTE_BBDEV_MAX_CS];
840 uint8_t q_m[RTE_BBDEV_MAX_MLD_LAYERS];
940 RTE_BBDEV_DATA_ERROR,
942 RTE_BBDEV_SYNDROME_ERROR,
943 RTE_BBDEV_ENGINE_ERROR
1016 struct rte_bbdev_op_pool_private {
1054 unsigned int num_elements,
unsigned int cache_size,
1075 struct rte_bbdev_op_pool_private *priv;
1078 priv = (
struct rte_bbdev_op_pool_private *)
1106 struct rte_bbdev_op_pool_private *priv;
1109 priv = (
struct rte_bbdev_op_pool_private *)
1137 struct rte_bbdev_op_pool_private *priv;
1167 struct rte_bbdev_op_pool_private *priv;
int8_t cs_time_adjustment
static void rte_bbdev_fft_op_free_bulk(struct rte_bbdev_fft_op **ops, unsigned int num_ops)
rte_bbdev_op_ldpcdec_flag_bitmasks
static __rte_experimental void rte_bbdev_mldts_op_free_bulk(struct rte_bbdev_mldts_op **ops, unsigned int num_ops)
rte_bbdev_op_ldpcenc_flag_bitmasks
uint16_t input_sequence_size
static __rte_always_inline void rte_mempool_put_bulk(struct rte_mempool *mp, void *const *obj_table, unsigned int n)
uint8_t num_antennas_log2
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
uint32_t capability_flags
int8_t freq_resample_mode
uint16_t output_sequence_size
char name[RTE_MEMPOOL_NAMESIZE]
rte_bbdev_op_fft_flag_bitmasks
uint16_t input_leading_padding
struct rte_mempool * mempool
static int rte_bbdev_fft_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_fft_op **ops, unsigned int num_ops)
uint16_t num_buffers_soft_out
static int rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_enc_op **ops, unsigned int num_ops)
uint16_t num_buffers_hard_out
struct rte_mempool * mempool
static __rte_always_inline int rte_mempool_get_bulk(struct rte_mempool *mp, void **obj_table, unsigned int n)
uint8_t num_buffers_soft_out
rte_bbdev_op_te_flag_bitmasks
uint32_t capability_flags
uint32_t capability_flags
static __rte_experimental int rte_bbdev_mldts_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_mldts_op **ops, uint16_t num_ops)
struct rte_mempool * mempool
static int rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool, struct rte_bbdev_dec_op **ops, unsigned int num_ops)
uint32_t capability_flags
struct rte_mempool * mempool
rte_bbdev_op_mldts_flag_bitmasks
const char * rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type)
uint32_t capability_flags
uint16_t output_leading_depadding
uint16_t output_depadded_size
uint8_t num_buffers_hard_out
static void * rte_mempool_get_priv(struct rte_mempool *mp)
uint32_t capability_flags
static void rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops)
static void rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op **ops, unsigned int num_ops)