DPDK
24.07.0
|
#include <stdint.h>
#include <rte_compat.h>
#include <rte_common.h>
#include <rte_mbuf.h>
#include <rte_memory.h>
#include <rte_mempool.h>
Go to the source code of this file.
Data Structures | |
struct | rte_bbdev_op_data |
struct | rte_bbdev_op_dec_turbo_cb_params |
struct | rte_bbdev_op_dec_ldpc_cb_params |
struct | rte_bbdev_op_dec_turbo_tb_params |
struct | rte_bbdev_op_dec_ldpc_tb_params |
struct | rte_bbdev_op_turbo_dec |
struct | rte_bbdev_op_ldpc_dec |
struct | rte_bbdev_op_enc_turbo_cb_params |
struct | rte_bbdev_op_enc_turbo_tb_params |
struct | rte_bbdev_op_enc_ldpc_cb_params |
struct | rte_bbdev_op_enc_ldpc_tb_params |
struct | rte_bbdev_op_turbo_enc |
struct | rte_bbdev_op_ldpc_enc |
struct | rte_bbdev_op_fft |
struct | rte_bbdev_op_mldts |
struct | rte_bbdev_op_cap_turbo_dec |
struct | rte_bbdev_op_cap_turbo_enc |
struct | rte_bbdev_op_cap_ldpc_dec |
struct | rte_bbdev_op_cap_ldpc_enc |
struct | rte_bbdev_op_cap_fft |
struct | rte_bbdev_op_cap_mld |
struct | rte_bbdev_enc_op |
struct | rte_bbdev_dec_op |
struct | rte_bbdev_fft_op |
struct | rte_bbdev_mldts_op |
struct | rte_bbdev_op_cap |
Functions | |
const char * | rte_bbdev_op_type_str (enum rte_bbdev_op_type op_type) |
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) |
static int | rte_bbdev_enc_op_alloc_bulk (struct rte_mempool *mempool, struct rte_bbdev_enc_op **ops, unsigned int num_ops) |
static int | rte_bbdev_dec_op_alloc_bulk (struct rte_mempool *mempool, struct rte_bbdev_dec_op **ops, unsigned int num_ops) |
static int | rte_bbdev_fft_op_alloc_bulk (struct rte_mempool *mempool, struct rte_bbdev_fft_op **ops, unsigned int num_ops) |
static __rte_experimental int | rte_bbdev_mldts_op_alloc_bulk (struct rte_mempool *mempool, struct rte_bbdev_mldts_op **ops, uint16_t num_ops) |
static void | rte_bbdev_dec_op_free_bulk (struct rte_bbdev_dec_op **ops, unsigned int num_ops) |
static void | rte_bbdev_enc_op_free_bulk (struct rte_bbdev_enc_op **ops, unsigned int num_ops) |
static void | rte_bbdev_fft_op_free_bulk (struct rte_bbdev_fft_op **ops, unsigned int num_ops) |
static __rte_experimental void | rte_bbdev_mldts_op_free_bulk (struct rte_bbdev_mldts_op **ops, unsigned int num_ops) |
Defines wireless base band layer 1 operations and capabilities
Definition in file rte_bbdev_op.h.
Flags for turbo decoder operation and capability structure
Definition at line 67 of file rte_bbdev_op.h.
Flags for turbo encoder operation and capability structure
Definition at line 137 of file rte_bbdev_op.h.
Flags for LDPC decoder operation and capability structure
Definition at line 153 of file rte_bbdev_op.h.
Flags for LDPC encoder operation and capability structure
Definition at line 212 of file rte_bbdev_op.h.
Flags for FFT operation and capability structure.
Definition at line 232 of file rte_bbdev_op.h.
Flags for MLDTS operation and capability structure
Enumerator | |
---|---|
RTE_BBDEV_MLDTS_REP | Set if the device supports C/R repetition options. |
Definition at line 260 of file rte_bbdev_op.h.
enum rte_bbdev_op_cb_mode |
Flags for the Code Block/Transport block mode
Enumerator | |
---|---|
RTE_BBDEV_TRANSPORT_BLOCK | One operation is one or fraction of one transport block |
RTE_BBDEV_CODE_BLOCK | One operation is one code block mode |
Definition at line 266 of file rte_bbdev_op.h.
enum rte_bbdev_op_type |
Different operation types supported by the device. The related macro RTE_BBDEV_OP_TYPE_SIZE_MAX can be used as an absolute maximum for notably sizing array while allowing for future enumeration insertion.
Definition at line 926 of file rte_bbdev_op.h.
anonymous enum |
Bit indexes of possible errors reported through status field
Definition at line 938 of file rte_bbdev_op.h.
const char* rte_bbdev_op_type_str | ( | enum rte_bbdev_op_type | op_type | ) |
Converts queue operation type from enum to string
op_type | Operation type as enum |
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 | ||
) |
Creates a bbdev operation mempool
name | Pool name. |
type | Operation type, use RTE_BBDEV_OP_NONE for a pool which supports all operation types. |
num_elements | Number of elements in the pool. |
cache_size | Number of elements to cache on an lcore, see rte_mempool_create() for further details about cache size. |
socket_id | Socket to allocate memory on. |
|
inlinestatic |
Bulk allocate encode operations from a mempool with parameter defaults reset.
mempool | Operation mempool, created by rte_bbdev_op_pool_create(). |
ops | Output array to place allocated operations |
num_ops | Number of operations to allocate |
Definition at line 1072 of file rte_bbdev_op.h.
|
inlinestatic |
Bulk allocate decode operations from a mempool with parameter defaults reset.
mempool | Operation mempool, created by rte_bbdev_op_pool_create(). |
ops | Output array to place allocated operations |
num_ops | Number of operations to allocate |
Definition at line 1103 of file rte_bbdev_op.h.
|
inlinestatic |
Bulk allocate FFT operations from a mempool with default parameters.
mempool | Operation mempool, created by rte_bbdev_op_pool_create. |
ops | Output array to place allocated operations. |
num_ops | Number of operations to allocate. |
Definition at line 1134 of file rte_bbdev_op.h.
|
inlinestatic |
Bulk allocate MLD operations from a mempool with parameter defaults reset.
mempool | Operation mempool, created by rte_bbdev_op_pool_create. |
ops | Output array to place allocated operations. |
num_ops | Number of operations to allocate. |
Definition at line 1164 of file rte_bbdev_op.h.
|
inlinestatic |
Free decode operation structures that were allocated by rte_bbdev_dec_op_alloc_bulk(). All structures must belong to the same mempool.
ops | Operation structures |
num_ops | Number of structures |
Definition at line 1189 of file rte_bbdev_op.h.
|
inlinestatic |
Free encode operation structures that were allocated by rte_bbdev_enc_op_alloc_bulk(). All structures must belong to the same mempool.
ops | Operation structures |
num_ops | Number of structures |
Definition at line 1206 of file rte_bbdev_op.h.
|
inlinestatic |
Free encode operation structures that were allocated by rte_bbdev_fft_op_alloc_bulk. All structures must belong to the same mempool.
ops | Operation structures. |
num_ops | Number of structures. |
Definition at line 1223 of file rte_bbdev_op.h.
|
inlinestatic |
Free encode operation structures that were allocated by rte_bbdev_mldts_op_alloc_bulk(). All structures must belong to the same mempool.
ops | Operation structures |
num_ops | Number of structures |
Definition at line 1241 of file rte_bbdev_op.h.