rte_flow_query_age(3)

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

🌸 rte_flow_query_age 🌸

okay so real quick before we dive in β€” this page lives in the Library Functions Manual, and yes bestie it's the rte_flow_query_age(3) one, the DPDK girlies know πŸ’…


✨ NAME ✨

rte_flow_query_age β€” the query struct that tells you how your aging is going (and no, not that kind of aging, we're talking network flow aging, stay with me 🫢)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_flow.h>

πŸŽ€ Data Fields

uint32_t reserved:6
uint32_t aged:1
uint32_t sec_since_last_hit_valid:1
uint32_t sec_since_last_hit:24

like, that's the whole lineup. four fields, all bitfields, all iconic πŸ’–


πŸ’œ Detailed Description πŸ’œ

So this whole thing is RTE_FLOW_ACTION_TYPE_AGE (query) β€” that's literally the tag, iykyk.

It's the query structure you use to retrieve the aging status info of a shared AGE action, or of a flow rule that's using the AGE action. Basically: you wanna know "is this flow still alive or is it Giving Expired," this struct is how you ask ✨

For real though, this is defined at line 3398 of file rte_flow.h β€” noted, cited, timestamped, the whole thing πŸ’…

🌈 Field Documentation 🌈

πŸ“ uint32_t reserved

Reserved. Must be zero. Like, don't touch it, don't look at it, don't be quirky with it β€” zero. That's the rule 😭

Defined at line 3399 of file rte_flow.h.

πŸ”₯ uint32_t aged

1 if the aging timeout expired, 0 otherwise. That's it. That's the whole vibe check β€” expired or not expired, no in-between 🎯

Defined at line 3400 of file rte_flow.h.

🧚 uint32_t sec_since_last_hit_valid

Tells you that the sec_since_last_hit value is valid. It's the little "yes bestie you can trust that number" flag πŸ‘‘

Defined 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 this flow actually did something. 24 bits of "where have you been, honestly" 🌸

Defined at line 3403 of file rte_flow.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a bestie, just Doxygen doing Doxygen things πŸ™ˆ


and that's the page, periodt πŸ’€πŸ’– β€” this lil beauty is DPDK, Version 26.03.0, rte_flow_query_age(3), and it says goodbye exactly like this πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from