rte_eth_fdir_action(3)
π rte_eth_fdir_action π
okay bestie, gather round, because we're reading a page from the Library Functions Manual and it's literally all about one little struct. her name is rte_eth_fdir_action and she's lowkey the whole personality of an FDIR match. no cap.
β¨ NAME β¨
rte_eth_fdir_action β the struct that decides what happens when a Flow Director packet filter matches π―
πΈ SYNOPSIS πΈ
#include <rte_eth_ctrl.h>
π Data Fields π
uint16_t rx_queue
enum rte_eth_fdir_behavior behavior
enum rte_eth_fdir_status report_status
uint8_t flex_off
periodt. that's the whole squad right there. π
π¦ Detailed Description π¦
so likeβ¦ this is a struct, right? and its entire job β her whole main character arc β is to define an action when a match FDIR packet filter. that's it. that's the gig. when the filter goes "omg it's a match π ", this struct is the one holding the clipboard telling everyone what to do next.
fr fr, she's defined at line 327 of rte_eth_ctrl.h. iconic placement honestly.
π§ Field Documentation π§
β uint16_t rx_queue
the queue she gets assigned to if FDIR match. yep. if the filter hits, this is where the packet goes. it's giving "your table is ready, ma'am." π
defined at line 328 of rte_eth_ctrl.h.
π enum rte_eth_fdir_behavior behavior
the behavior will be taken. that's the whole vibe. this field is the decision β the moment where the struct picks a lane and commits to it. no takebacks. π₯
defined at line 329 of rte_eth_ctrl.h.
π
enum rte_eth_fdir_status report_status
the status report option. she's the receipts. the little "here's what happened" energy of the whole operation. π§Ύβ¨
defined at line 330 of rte_eth_ctrl.h.
π uint8_t flex_off
okay this one's got lore. if report_status is RTE_ETH_FDIR_REPORT_ID_FLEX_4 or RTE_ETH_FDIR_REPORT_FLEX_8, then flex_off specifies where the reported flex bytes start from in flexible payload. so basically: those flex bytes gotta start somewhere, and flex_off is the one pointing at exactly where. it's giving GPS for bytes π§π¦
defined at line 331 of rte_eth_ctrl.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so likeβ¦ a robot wrote this. and i'm the robot's translator. we love a collaboration. π«Ά
okay so real talk, bestie: every single one of those line numbers, enum names, field types and file paths is straight from the source β don't be out here retyping them from memory, okay? copy-paste is self care. ππ
and that's the page!! π this came to you from DPDK, Version 25.11.3, and yes the (3) in rte_eth_fdir_action(3) means she lives in the library functions section, iykyk. go forth and filter those packets, you absolute legend. slay πβ¨π¦
π¦ 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