DPDK
21.02.0
|
#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 | |
__rte_experimental const char * | rte_bbdev_op_type_str (enum rte_bbdev_op_type op_type) |
__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) |
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) |
static __rte_experimental void | rte_bbdev_dec_op_free_bulk (struct rte_bbdev_dec_op **ops, unsigned int num_ops) |
static __rte_experimental 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 55 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 193 of file rte_bbdev_op.h.
enum rte_bbdev_op_type |
Different operation types supported by the device
Definition at line 735 of file rte_bbdev_op.h.
anonymous enum |
Bit indexes of possible errors reported through status field
Definition at line 745 of file rte_bbdev_op.h.
__rte_experimental 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 |
__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 | ||
) |
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 856 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 893 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 926 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 944 of file rte_bbdev_op.h.