DPDK
18.11.11
|
#include <rte_bbdev_op.h>
Data Fields | |
uint16_t | k_neg |
uint16_t | k_pos |
uint8_t | c_neg |
uint8_t | c |
uint8_t | cab |
uint32_t | ea |
Operation structure for Turbo decode. An operation can perform on one CB at a time "CB-mode". An operation can perform on one or multiple CBs that are logically belonging to one TB "TB-mode". The provided K size parameter of the CB is its size out coming from the decode operation. CRC24A/B check is requested by the application by setting the flag RTE_BBDEV_TURBO_CRC_TYPE_24B for CRC24B check or CRC24A otherwise. In TB-mode, BBDEV concatenates the decoded CBs one next to the other with relevant CRC24B in between.
The input encoded CB data is the Virtual Circular Buffer data stream, wk, with the null padding included as described in 3GPP TS 36.212 section 5.1.4.1.2 and shown in 3GPP TS 36.212 section 5.1.4.1 Figure 5.1.4-1. The size of the virtual circular buffer is 3*Kpi, where Kpi is the 32 byte aligned value of K, as specified in 3GPP TS 36.212 section 5.1.4.1.1.
Each byte in the input circular buffer is the LLR value of each bit of the original CB.
Hard output is a mandatory capability that all BBDEV PMDs support. This is the decoded CBs of K sizes (CRC24A/B is the last 24-bit in each decoded CB). Soft output is an optional capability for BBDEV PMDs. If supported, an LLR rate matched output is computed in the soft_output buffer structure.
The output mbuf data structure is expected to be allocated by the application with enough room for the output data.
Definition at line 196 of file rte_bbdev_op.h.
uint16_t k_neg |
< The K- size of the input CB, in bits [40:6144], that is in the Turbo operation when r < C-, as in 3GPP TS 36.212. The K+ size of the input CB, in bits [40:6144], that is in the Turbo operation when r >= C-, as in 3GPP TS 36.212.
Definition at line 200 of file rte_bbdev_op.h.
uint16_t k_pos |
The number of CBs that have K- size, [0:63]
Definition at line 204 of file rte_bbdev_op.h.
uint8_t c_neg |
The total number of CBs in the TB, [1:RTE_BBDEV_MAX_CODE_BLOCKS]
Definition at line 206 of file rte_bbdev_op.h.
uint8_t c |
The number of CBs that uses Ea before switching to Eb, [0:63]
Definition at line 208 of file rte_bbdev_op.h.
uint8_t cab |
The E size of the CB rate matched output to use in the Turbo operation when r < cab
Definition at line 210 of file rte_bbdev_op.h.
uint32_t ea |
The E size of the CB rate matched output to use in the Turbo operation when r >= cab
Definition at line 214 of file rte_bbdev_op.h.