rte_timer(3)

πŸ’– rte_timer β€” bestie, it's a timer struct πŸ’–

okay so this is the Library Functions Manual page for rte_timer, and honestly? it's giving struct energy. sit down, grab a boba, we're gonna go through every single field together 🧚


✨ NAME ✨

rte_timer β€” no cap, that's the whole name, that's the whole vibe


🌸 SYNOPSIS 🌸

#include <rte_timer.h>

πŸŽ€ Data Fields

  • uint64_t expire
  • volatile union rte_timer_status status
  • uint64_t period
  • rte_timer_cb_t f
  • void * arg

πŸ¦‹ Detailed Description πŸ¦‹

A structure describing a timer in RTE. that's it, that's the girl πŸ’…

fr fr, it's defined at line 98 of file rte_timer.h.

πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint64_t expire

Time when timer expire.

Defined at line 100 of file rte_timer.h.

πŸ’œ volatile union rte_timer_status status

Status of timer. yes bestie, it's volatile, and yes, that matters 😭

Defined at line 102 of file rte_timer.h.

πŸ’œ uint64_t period

Period of timer (0 if not periodic). so if this is 0, your timer is a one-time girly, not a recurring icon ✨

Defined at line 103 of file rte_timer.h.

πŸ’œ rte_timer_cb_t f

Callback function. this is the function that gets called, the main character of the whole operation 🫢

Defined at line 104 of file rte_timer.h.

πŸ’œ void* arg

Argument to callback function. like, the little gift you hand over when the callback shows up πŸ™ˆ

Defined at line 105 of file rte_timer.h.

⭐ Author ⭐

Generated automatically by Doxygen for DPDK from the source code. (not a human, just a robot being extremely thorough, we love that for us πŸ€–πŸ’–)


and that's the whole page bestie, periodt πŸ’…βœ¨

this was DPDK Version 25.11.3, and you've been reading rte_timer(3) β€” go forth and schedule something iconic πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from