rte_flow_query_age(3)
π NAME π
rte_flow_query_age β bestie, this is a struct page from the DPDK library functions manual, and we're gonna get into it π«Ά
β¨ SYNOPSIS β¨
#include <rte_flow.h>
π Data Fields π
uint32_t reserved:6uint32_t aged:1uint32_t sec_since_last_hit_valid:1uint32_t sec_since_last_hit:24
Look at those bitfields, okay?? 6 + 1 + 1 + 24 = a perfectly packed 32 bits. The bit budget ATE π
πΈ Detailed Description πΈ
So this whole thing is the query struct for RTE_FLOW_ACTION_TYPE_AGE β and yes, the (query) in there is literal, that's how it's labeled π
It's the query structure you use to retrieve the aging status information of either:
- a shared AGE action, or
- a flow rule that's using the AGE action
That's it, that's the whole job. It's giving "tell me how old this flow rule is" energy π
Definition at line 3398 of file rte_flow.h.
π Field Documentation π
uint32_t reserved
Bestie. Leave it alone. Reserved, must be zero. Not "should be zero," not "zero if you feel like it" β must. Don't be the one who fills this in, I'm literally begging π
Definition at line 3399 of file rte_flow.h.
uint32_t aged
This is the verdict: 1 if the aging timeout expired, 0 otherwise. One bit, one truth, no cap π―
Definition at line 3400 of file rte_flow.h.
uint32_t sec_since_last_hit_valid
This one's the lil trust flag β it means the sec_since_last_hit value is valid β¨ If this bit isn't set, that other number doesn't mean anything, so vibe-check it first.
Definition at line 3402 of file rte_flow.h.
uint32_t sec_since_last_hit
Seconds since the last traffic hit β±οΈ Like, how long has it been since anything actually showed up? 24 whole bits of it.
Definition at line 3403 of file rte_flow.h.
π¦ Author π¦
Generated automatically by Doxygen for DPDK from the source code. Not a human girlie wrote this β the robot did, and honestly? Slay π€π
And that's the page, bestie! It's from DPDK, Version 25.11.3 β so if you're running that version, this is exactly your vibe. Byeee π β¨
π¦ 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