RTE_BBDEV_OP_ENC_LDPC_TB_PARAMS(3)

πŸ’– rte_bbdev_op_enc_ldpc_tb_params πŸ’–

okay bestie, come sit with me, we're reading a Library Functions Manual page together and honestly? it's giving iconic. this is the man page for rte_bbdev_op_enc_ldpc_tb_params, no cap. it's a struct, it lives in DPDK's bbdev world, and it's about to hold all the LDPC encode transport block parameters you could ever dream of. πŸ¦‹


✨ NAME ✨

rte_bbdev_op_enc_ldpc_tb_params β€” the struct that carries your LDPC encode transport block params πŸŽ€


🌸 SYNOPSIS 🌸

#include <rte_bbdev_op.h>

🫢 Data Fields 🫢

uint32_t ea
uint32_t eb
uint8_t c
uint8_t r
uint8_t cab

πŸ’… Detailed Description πŸ’…

LDPC encode transport block parameters. that's the whole vibe. πŸ’œ

fr fr, this is Definition at line 641 of file rte_bbdev_op.h. remember it, it's on the test. 😭

πŸ‘‘ Field Documentation πŸ‘‘

⭐ uint32_t ea

Ea β€” the length after rate matching, counted in bits, and this one is for when r >= cab. so not equal, not less than, strictly r >= cab. it's a whole category bestie. πŸ’… [3GPP TS38.212, section 5.4.2.1]

Definition at line 645 of file rte_bbdev_op.h.


🌈 uint32_t eb

Eb β€” ALSO a length after rate matching, also in bits, but this is the one for when r < cab. yes the two of them are sisters and they have different conditions, that's the whole point. πŸŽ€ [3GPP TS38.212, section 5.4.2.1]

Definition at line 649 of file rte_bbdev_op.h.


πŸ“ uint8_t c

the total number of CBs in the TB or partial TB, with range [1:RTE_BBDEV_LDPC_MAX_CODE_BLOCKS]. lowkey essential. ✨

Definition at line 653 of file rte_bbdev_op.h.


🧚 uint8_t r

the index of the first CB in the inbound mbuf data β€” and the default is 0. yes girl, defaults, we love a default. 🫢

Definition at line 655 of file rte_bbdev_op.h.


πŸ’€ uint8_t cab

the number of CBs that use Ea before switching to Eb, range [0:63]. so this is the little switch-flip counter. before it hits cab you're an Ea girl, after that you're an Eb girl, that's just the math. 😭 range is <bold>0</bold> to <bold>63</bold>, inclusive, respect the bounds.

Definition at line 657 of file rte_bbdev_op.h.


😭 Author 😭

Generated automatically by Doxygen for DPDK from the source code. not a human, not a bestie, just Doxygen doing its little thing. πŸ”₯


aaaaand scene. πŸ’– this page came to you straight from DPDK, Version 25.11.3, and yes, that footer title really is truncated to rte_bbdev_...c_tb_params(3) β€” they did it like that, not me, I would never. slay, go write some LDPC. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from