rte_eth_fdir_info(3)
β¨ NAME β¨
rte_eth_fdir_info β bestie, this is a DPDK library function page (section 3 of the manual, if you were wondering), and it's literally the struct that tells you everything about your flow director filter setup π
πΈ SYNOPSIS πΈ
#include <rte_eth_ctrl.h>
π Data Fields
enum rte_fdir_mode modestruct rte_eth_fdir_flex_conf flex_confuint32_t guarant_spcuint32_t best_spcuint64_t flow_types_mask [RTE_FLOW_MASK_ARRAY_SIZE]uint32_t max_flexpayloaduint32_t flex_payload_unituint32_t max_flex_payload_segment_numuint16_t flex_payload_limituint32_t flex_bitmask_unituint32_t max_flex_bitmask_num
π¦ Detailed Description π¦
Okay so picture this: it's a structure you use to get the information of flow director filter. She supports RTE_ETH_FILTER_FDIR together with the RTE_ETH_FILTER_INFO operation, no cap π
And what's inside her? The mode, the flexible payload configuration information, the capabilities and supported flow types, plus the flexible payload characters. Basically the whole personality.
You can grab all of this to help you take specific configurations per device β like, device-by-device customization, which is honestly so iconic of her fr fr.
Lowkey important detail: she lives at Definition at line 440 of file rte_eth_ctrl.h.
π Field Documentation π
enum rte_fdir_mode mode</p>
The flow director mode. That's it, that's the vibe π
Definition at line 441 of file rte_eth_ctrl.h.
struct rte_eth_fdir_flex_conf flex_conf
Flex payload configuration information. All the flexible deets go here β¨
Definition at line 444 of file rte_eth_ctrl.h.
uint32_t guarant_spc
Guaranteed spaces. Yes ma'am, guaranteed π―
Definition at line 445 of file rte_eth_ctrl.h.
uint32_t best_spc
Best effort spaces. She tries her best, okay? π₯Ί
Definition at line 446 of file rte_eth_ctrl.h.
uint64_t flow_types_mask[RTE_FLOW_MASK_ARRAY_SIZE]
Bit mask for every supported flow type. Every. Single. One π
Definition at line 448 of file rte_eth_ctrl.h.
uint32_t max_flexpayload
Total flex payload in bytes. Look at her flexing πͺ
Definition at line 449 of file rte_eth_ctrl.h.
uint32_t flex_payload_unit
Flexible payload unit in bytes. Heads up bestie: the size and alignments of all flex payload segments should be multiplies of this value. Not vibes-based math, actual multiples πΈ
Definition at line 452 of file rte_eth_ctrl.h.
uint32_t max_flex_payload_segment_num
Max number of flexible payload continuous segments. And same rule applies β each segment should be a multiple of flex_payload_unit. Periodt π
Definition at line 455 of file rte_eth_ctrl.h.
uint16_t flex_payload_limit
Maximum src_offset in bytes allowed. She's telling you that src_offset[i] in struct rte_eth_flex_payload_cfg should be less than this value. Like, stay under the limit babes π§
Definition at line 459 of file rte_eth_ctrl.h.
uint32_t flex_bitmask_unit
Flex bitmask unit in bytes. The size of flex bitmasks should be a multiply of this value β no rounding, no "close enough" energy π
Definition at line 462 of file rte_eth_ctrl.h.
uint32_t max_flex_bitmask_num
Max supported size of flex bitmasks, expressed in flex_bitmask_unit. She big π
Definition at line 464 of file rte_eth_ctrl.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not a human girlie writing these by hand β the machine did it, and she ate π β¨
Okay so that's the whole page bestie, you're officially caught up π«Ά Go configure something cute with it.
DPDK β Version 25.11.3 β rte_eth_fdir_info(3) π that's the version and the date-adjacent footer situation, mwah, bye now πΈ
π¦ 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