logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_bbdev_op_turbo_enc

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                       rte_bbdev_op_turbo_enc(3)

Detailed Description

       Operation structure for Turbo encode. An operation can be performed on one CB at a time 'CB-mode'. An
       operation can pbe erformd on one or multiple CBs that logically belong 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 681 of file rte_bbdev_op.h.

Field Documentation

structrte_bbdev_op_datainput
       The input CB or TB data

       Definition at line 683 of file rte_bbdev_op.h.

   structrte_bbdev_op_dataoutput
       The rate matched CB or TB output buffer

       Definition at line 685 of file rte_bbdev_op.h.

   uint32_top_flags
       Flags from rte_bbdev_op_te_flag_bitmasks

       Definition at line 687 of file rte_bbdev_op.h.

   uint8_trv_index
       Rv index for rate matching [0:3]

       Definition at line 690 of file rte_bbdev_op.h.

   uint8_tcode_block_mode
       [0 - TB : 1 - CB]

       Definition at line 692 of file rte_bbdev_op.h.

   structrte_bbdev_op_enc_turbo_cb_paramscb_params
       Struct which stores Code Block specific parameters

       Definition at line 695 of file rte_bbdev_op.h.

   structrte_bbdev_op_enc_turbo_tb_paramstb_params
       Struct which stores Transport Block specific parameters

       Definition at line 697 of file rte_bbdev_op.h.

Name

       rte_bbdev_op_turbo_enc

Synopsis

       #include <rte_bbdev_op.h>

   DataFields
       struct rte_bbdev_op_datainput
       struct rte_bbdev_op_dataoutput
       uint32_t op_flags
       uint8_t rv_index
       uint8_t code_block_mode

See Also