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 mode
  • struct rte_eth_fdir_flex_conf flex_conf
  • uint32_t guarant_spc
  • uint32_t best_spc
  • uint64_t flow_types_mask [RTE_FLOW_MASK_ARRAY_SIZE]
  • uint32_t max_flexpayload
  • uint32_t flex_payload_unit
  • uint32_t max_flex_payload_segment_num
  • uint16_t flex_payload_limit
  • uint32_t flex_bitmask_unit
  • uint32_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