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 ciruint64_t piruint64_t cbsuint64_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:
PIRhas to be greater than or equal toCIRβ no exceptions, fr fr- both
CBSorEBShave 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
- 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