DPDK  18.05.1
Data Fields
rte_bbdev_op_enc_tb_params Struct Reference

#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
uint32_t eb
uint16_t ncb_neg
uint16_t ncb_pos

Detailed Description

Operation structure for Turbo encode. 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".

In CB-mode, CRC24A/B is an optional operation. K size parameter is not affected by CRC24A/B inclusion, this only affects the inbound mbuf data length. Not all BBDEV PMDs are capable of CRC24A/B calculation. Flags RTE_BBDEV_TURBO_CRC_24A_ATTACH and RTE_BBDEV_TURBO_CRC_24B_ATTACH informs the application with relevant capability. These flags can be set in the op_flags parameter to indicate BBDEV to calculate and append CRC24A to CB before going forward with Turbo encoding.

In TB-mode, CRC24A is assumed to be pre-calculated and appended to the inbound TB mbuf data buffer.

The output mbuf data structure is expected to be allocated by the application with enough room for the output data.

Definition at line 306 of file rte_bbdev_op.h.

Field Documentation

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. This size is inclusive of CRC24B, regardless whether it was pre-calculated and appended by the application or not.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. This size is inclusive of CRC24B, regardless whether it was pre-calculated and appended by the application or not.

Definition at line 313 of file rte_bbdev_op.h.

uint16_t k_pos

The number of CBs that have K- size, [0:63]

Definition at line 319 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 321 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 323 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 325 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 329 of file rte_bbdev_op.h.

uint32_t eb

The Ncb soft buffer size for the rate matched CB that is used in the Turbo operation when r < C-, [K:3*Kpi]

Definition at line 333 of file rte_bbdev_op.h.

uint16_t ncb_neg

The Ncb soft buffer size for the rate matched CB that is used in the Turbo operation when r >= C-, [K:3*Kpi]

Definition at line 337 of file rte_bbdev_op.h.

uint16_t ncb_pos

The index of the first CB in the inbound mbuf data, default is 0

Definition at line 341 of file rte_bbdev_op.h.


The documentation for this struct was generated from the following file: