DPDK
21.11.8
|
#include <stdint.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_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_enc_op |
struct | rte_bbdev_dec_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, 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) |
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) |
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 52 of file rte_bbdev_op.h.
Flags for turbo encoder operation and capability structure
Definition at line 122 of file rte_bbdev_op.h.
Flags for LDPC decoder operation and capability structure
Definition at line 138 of file rte_bbdev_op.h.
Flags for LDPC encoder operation and capability structure
Definition at line 195 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 215 of file rte_bbdev_op.h.
enum rte_bbdev_op_type |
Different operation types supported by the device
Definition at line 745 of file rte_bbdev_op.h.
anonymous enum |
Bit indexes of possible errors reported through status field
Definition at line 755 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 863 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 899 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 931 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 948 of file rte_bbdev_op.h.