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:6
  • uint32_t aged:1
  • uint32_t sec_since_last_hit_valid:1
  • uint32_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