rte_bbdev_op_ldpc_enc(3)
π rte_bbdev_op_ldpc_enc π
okay bestie, gather round, because today we're meeting a struct from rte_bbdev_op.h and honestly? she's a lot. this is the Library Functions Manual page for rte_bbdev_op_ldpc_enc(3) β the operation structure for LDPC encode. yes, that LDPC. the one with the base graphs. let's get into it π«Ά
β¨ NAME β¨
rte_bbdev_op_ldpc_enc β literally just her name, no notes π
πΈ SYNOPSIS πΈ
#include <rte_bbdev_op.h>
π Data Fields π
struct rte_bbdev_op_data inputstruct rte_bbdev_op_data outputuint32_t op_flagsuint8_t rv_indexuint8_t basegraphuint16_t z_cuint16_t n_cbuint8_t q_muint16_t n_filleruint8_t code_block_mode
π¦ Detailed Description π¦
So this is the operation structure for LDPC encode, and here's the tea:
- an operation can be performed on one CB at a time β that's "CB-mode" β¨
- an operation can be performed on one or multiple CBs that logically belong to a TB β that's "TB-mode" π
The input data is the CB or TB input to the decoder. (yes, it says decoder, we're just relaying the lore fr fr π)
The output data is the ratematched CB or TB data, or the output after bit-selection if RTE_BBDEV_LDPC_INTERLEAVER_BYPASS is set. it's giving conditional, and we respect it.
And listen β the output mbuf data structure is expected to be allocated by the application with enough room for the output data. that's on you, bestie. the struct is not doing your malloc for you π
Definition at line 717 of file rte_bbdev_op.h.
π Field Documentation π
π« struct rte_bbdev_op_data input
The input TB or CB data.
Definition at line 719 of file rte_bbdev_op.h.
π« struct rte_bbdev_op_data output
The rate matched TB or CB output buffer.
Definition at line 721 of file rte_bbdev_op.h.
π« uint32_t op_flags
Flags from rte_bbdev_op_ldpcenc_flag_bitmasks. bitmasks, iconic, no cap.
Definition at line 724 of file rte_bbdev_op.h.
π« uint8_t rv_index
Rate matching redundancy version.
Definition at line 727 of file rte_bbdev_op.h.
π« uint8_t basegraph
1: LDPC Base graph 12: LDPC Base graph 2
[3GPP TS38.212, section 5.2.2] β the receipts are right there π
Definition at line 731 of file rte_bbdev_op.h.
π« uint16_t z_c
Zc, LDPC lifting size. [3GPP TS38.212, section 5.2.2]
Definition at line 735 of file rte_bbdev_op.h.
π« uint16_t n_cb
Ncb, length of the circular buffer in bits. [3GPP TS38.212, section 5.4.2.1]
Definition at line 739 of file rte_bbdev_op.h.
π« uint8_t q_m
Qm, modulation order {2,4,6,8,10}. [3GPP TS38.212, section 5.4.2.2]
Definition at line 743 of file rte_bbdev_op.h.
π« uint16_t n_filler
Number of Filler bits, n_filler = K β Kβ [3GPP TS38.212 section 5.2.2]
Definition at line 747 of file rte_bbdev_op.h.
π« uint8_t code_block_mode
[0 - TB : 1 - CB]
Definition at line 749 of file rte_bbdev_op.h.
π« struct rte_bbdev_op_enc_ldpc_cb_params cb_params
Struct which stores Code Block specific parameters.
Definition at line 752 of file rte_bbdev_op.h.
π« struct rte_bbdev_op_enc_ldpc_tb_params tb_params
Struct which stores Transport Block specific parameters.
Definition at line 754 of file rte_bbdev_op.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. the robots wrote it, we just styled it πβ¨
and that's the whole page, bestie β every field, every line number, every 3GPP section reference, untouched. we kept the facts and gave them a wardrobe change π
mwah π this was DPDK Version 25.11.3, and yeah, the robots generated it, Doxygen for DPDK, from the source code β so go be the main character of your own LDPC encode πππ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms