RTE_ETH_FLEX_PAYLOAD_CFG(3)
β¨ NAME β¨
rte_eth_flex_payload_cfg β bestie, it's a struct π
from the DPDK Library Functions Manual, section 3, and she's here to help you pick which bytes get yanked out of your protocol layers and yeeted into the flexible payload for filtering π
πΈ SYNOPSIS πΈ
#include <rte_eth_ctrl.h>
π¦ Data Fields
enum rte_eth_payload_type typeuint16_t src_offset [RTE_ETH_FDIR_MAX_FLEXLEN]
π Detailed Description π
okay so. this is a structure used to select bytes extracted from the protocol layers to flexible payload for filter. that's her whole job, no cap.
she lives at Definition at line 386 of file rte_eth_ctrl.h. π
π Field Documentation π
β¨ enum rte_eth_payload_type type
literally just the payload type, bestie. that's the vibe. π«Ά
Definition at line 387 of file rte_eth_ctrl.h.
π uint16_t src_offset[RTE_ETH_FDIR_MAX_FLEXLEN]
so this one is the offset in bytes from the beginning of packet's payload. and src_offset[i]? that tells you flexbyte i's offset in the original packet payload β like a lil map of where each flexbyte came from in the source packet πΊοΈβ¨
β οΈ important, bestie: this value should be less thanflex_payload_limitin structrte_eth_fdir_info. do not skip that. it's giving boundary conditions and we respect her π
Definition at line 388 of file rte_eth_ctrl.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. she was born from the tooling, not from human hands, and honestly? iconic π€π
and that's the whole page, bestie!! this was DPDK Version 25.11.3, filed under rte_eth_flex_payload_cfg(3) β mwah, slay, go configure some payloads, ily π«Άπ
π
π¦ 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