rte_meter_trtcm_params(3)

πŸ’– rte_meter_trtcm_params πŸ’–

okay bestie so this one's a little struct from rte_meter.h in the DPDK situation β€” it's literally just the trTCM parameter bundle, and it comes to you courtesy of the rte_meter_trtcm_params(3) manual page. no biggie, but she's important, so let's get into it 🫢


✨ SYNOPSIS ✨

#include <rte_meter.h>

πŸŽ€ Data Fields

  • uint64_t cir
  • uint64_t pir
  • uint64_t cbs
  • uint64_t pbs

🌸 DESCRIPTION 🌸

so like, this is the trTCM parameters per metered traffic flow setup. that's the whole vibe. πŸ’…

here's the tea though, and you need this part: the CIR, PIR, CBS and PBS parameters only count bytes of IP packets and do not include link specific headers. like, headers are simply not invited to this party. not on the list, not getting in. 🚫

also, house rules:

  • PIR has to be greater than or equal to CIR β€” no exceptions, fr fr
  • both CBS or EBS have to be greater than zero β€” zero gets you nowhere, bestie
lowkey define your stuff right or the meter's gonna have a whole meltdown 😭

she's defined at line 50 of file rte_meter.h. icons only. πŸ‘‘


πŸ”₯ Field Documentation πŸ”₯

uint64_t cir

Committed Information Rate (CIR). measured in bytes per second. yes, per second, don't forget the unit, that's the classic oopsie. ⭐

defined at line 51 of file rte_meter.h.

uint64_t pir

Peak Information Rate (PIR). also measured in bytes per second, she matches cir's energy. πŸ’œ

defined at line 52 of file rte_meter.h.

uint64_t cbs

Committed Burst Size (CBS). measured in bytes this time β€” not per second, just bytes. whole different unit, whole different girl. πŸ¦‹

defined at line 53 of file rte_meter.h.

uint64_t pbs

Peak Burst Size (PBS). measured in bytes, same as cbs. ✨

defined at line 54 of file rte_meter.h.


🌈 Author 🌈

generated automatically by Doxygen for DPDK from the source code. not a human, just a lil robot doing her thing, and honestly? she ate. πŸ€–πŸ’–


and that's the page!! this whole thing is brought to you by DPDK, version 25.11.3, from the rte_meter_trtcm_params(3) manual β€” go forth and meter your traffic responsibly, bestie, mwah πŸŽ€πŸ‘‘βœ¨

πŸ“¦ where this page comes from