rte_meter_trtcm(3)

✨ NAME ✨

rte_meter_trtcm β€” bestie, this is the lil' struct that holds the trTCM runtime vibe for one metered traffic flow πŸ’–

(also hi, this is a page from the Library Functions Manual, section 3, so you already know it's a C thing 🫢)


🌸 SYNOPSIS 🌸

#include <rte_meter.h>

Data Fields

  • uint64_t time_tc
  • uint64_t time_tp
  • uint64_t tc
  • uint64_t tp

πŸ’– DETAILED DESCRIPTION πŸ’–

okay so. rte_meter_trtcm is an internal data structure, and what it does is store the trTCM run-time context β€” per metered traffic flow, one each, no sharing, we don't do that here πŸ’…

ngl that's the whole glow-up. it's a bookkeeping queen and it knows it.

Definition at line 354 of file rte_meter.h.


πŸŽ€ FIELD DOCUMENTATION πŸŽ€

uint64_t time_tc

the timestamp of the latest update of the C token bucket β€” like, when did we last touch her ⏰

Definition at line 355 of file rte_meter.h.

uint64_t time_tp

same energy, different bucket: the timestamp of the latest update of the P token bucket ✨

Definition at line 357 of file rte_meter.h.

uint64_t tc

how many bytes are currently available in the committed (C) token bucket β€” that's the C, bestie, committed, as in "I'm committed to you" πŸ₯Ί

Definition at line 359 of file rte_meter.h.

uint64_t tp

and this one is how many bytes are currently available in the peak (P) token bucket β€” P for peak, the ceiling, the main character of rate limiting πŸ‘‘

Definition at line 361 of file rte_meter.h.


πŸ¦‹ AUTHOR πŸ¦‹

Generated automatically by Doxygen for DPDK from the source code. not a human author, just a robot doing its lil' documentation chores πŸ€–βœ¨


okay that's the whole page, go forth and meter those flows responsibly πŸ’œ

signing off: this was the DPDK crew, Version 25.11.3, and yes the robot wrote it, no cap πŸŽ€ bye bestie 🫢

πŸ“¦ where this page comes from