rte_eth_fdir_flex_conf(3)
π rte_eth_fdir_flex_conf(3) β the DPDK library functions manual, but make it make sense π
okay so bestie, buckle up β this is a page out of the DPDK Library Functions Manual, and honestly? it's a struct page. but like, a load-bearing struct page, so we're gonna treat it with respect. β¨
πΈ NAME πΈ
rte_eth_fdir_flex_conf β literally the struct, that's it, that's the name, no extra lore π
π¦ SYNOPSIS π¦
#include <rte_eth_ctrl.h>
β¨ Data Fields β¨
uint16_t nb_payloadsuint16_t nb_flexmasksstruct rte_eth_flex_payload_cfg flex_set [RTE_ETH_PAYLOAD_MAX]struct rte_eth_fdir_flex_mask flex_mask [RTE_ETH_FLOW_MAX]
π Detailed Description π
so this struct is the whole vibe check for all your flexible payload related settings β it bundles up both the flex payload and the flex mask into one tidy little container. one struct to hold them all, no cap. π«Ά
rte_eth_fdir_flex_confis defined at line 409 of the filerte_eth_ctrl.h. π
π Field Documentation π
π uint16_t nb_payloads
it's the count of the payload cfgs that come after it β like, "how many are we doing, bestie?" energy. π₯
Defined at line 410 of file rte_eth_ctrl.h.
π uint16_t nb_flexmasks
same deal but for the masks β this is the number of following mask entries. π
Defined at line 411 of file rte_eth_ctrl.h.
π struct rte_eth_flex_payload_cfg flex_set[RTE_ETH_PAYLOAD_MAX]
the actual flex payload configuration, one per payload type. it's giving "organized queen" β every payload type gets its own slot. π
Defined at line 412 of file rte_eth_ctrl.h.
π struct rte_eth_fdir_flex_mask flex_mask[RTE_ETH_FLOW_MAX]
and here's the flex mask configuration, one per flow type. flow-by-flow masking, exactly how we like it. πΈ
Defined at line 414 of file rte_eth_ctrl.h.
π§ Author π§
not a human author, bestie β this was generated automatically by Doxygen for DPDK from the source code. the robots did this one. π€β¨
π quick reminder: every array in here is sized by a*_MAXconstant (RTE_ETH_PAYLOAD_MAXandRTE_ETH_FLOW_MAX) and indexed per type β so keep your indices in range, fr fr. π
mwah, that's the page! π brought to you by DPDK, Version 26.03.0 β and yes, rte_eth_fdir_flex_conf(3) is the icon, the moment, the manual page. periodt. π
β
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms