rte_eth_fdir_flex_conf(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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_payloads
  • uint16_t nb_flexmasks
  • struct 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_conf is defined at line 409 of the file rte_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 *_MAX constant (RTE_ETH_PAYLOAD_MAX and RTE_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