rte_flow_update_age(3)
π rte_flow_update_age(3) π
okay bestie, welcome to a page from the Library Functions Manual β it's rte_flow_update_age, a struct in the DPDK flow family, and she's got main character energy for sure. let's get into it π¦
β¨ NAME β¨
rte_flow_update_age β that's her, that's the name, no notes π
πΈ SYNOPSIS πΈ
pull her in with:
#include <rte_flow.h>
π Data Fields
uint32_t reserved:6uint32_t timeout_valid:1uint32_t timeout:24uint32_t touch:1
look at those bitfields living their truth β¨
π¦ Detailed Description π¦
β οΈ Warning β EXPERIMENTAL: this structure may change without prior notice. like, she's in her experimental era and she will reinvent herself, no cap. don't build your whole personality on her staying the same, fr fr.
she's the one behind RTE_FLOW_ACTION_TYPE_AGE π
what she does: Update indirect AGE action attributes, aka:
- Timeout can be updated including stop/start action:
+-------------+-------------+------------------------------+
| Old Timeout | New Timeout | Updating |
+=============+=============+==============================+
| 0 | positive | Start aging with new value |
+-------------+-------------+------------------------------+
| positive | 0 | Stop aging |
+-------------+-------------+------------------------------+
| positive | positive | Change timeout to new value |
+-------------+-------------+------------------------------+
so like: nothing β something = start aging with new value, something β nothing = stop aging, something β something else = change timeout to new value. the glow-up pipeline π«Ά
sec_since_last_hitcan be reset. yes bestie, you can hit the reset button on that one π
π Definition at line 3425 of file rte_flow.h.
π§ Field Documentation π§
π uint32_t reserved
Reserved, must be zero. like, leave her ALONE, put 0 and move on π
π Definition at line 3426 of file rte_flow.h.
π uint32_t timeout_valid
The timeout is valid for update. so basically: "hey, the timeout field actually means something right now" β
π Definition at line 3427 of file rte_flow.h.
π uint32_t timeout
Time in seconds. seconds!! not milliseconds, not vibes, seconds β±οΈ
π Definition at line 3428 of file rte_flow.h.
β uint32_t touch
Means that aging should assume packet passed the aging. a little nudge, a little "hey girl, a packet came through" tap on the shoulder π«
π Definition at line 3430 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human author, a robot did this. she was generated, she's built different, iconic behavior π€β¨
and that's the whole page bestie!! this was DPDK Version 25.11.3 of rte_flow_update_age(3) (the date slot is literally empty, the docs said "we'll fill that in later" and never did π). stay experimental, stay zeroed-out in your reserved bits, and go touch someβ packets. 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