rte_meter_...115_params(3)
π NAME
rte_meter_trtcm_rfc4115_params β okay so this is a page from the Library Functions Manual, and it's literally just the struct where you stash all your trTCM meter params for one single metered traffic flow. Bestie, it's giving "config blob but make it official" π
β¨ SYNOPSIS β¨
#include <rte_meter.h>
π¦ Data Fields
uint64_t ciruint64_t eiruint64_t cbsuint64_t ebs
πΈ DETAILED DESCRIPTION πΈ
So this is the trTCM parameters struct, and it holds the params per metered traffic flow π. One flow, one of these, no sharing, periodt.
The tea on the numbers: CIR, EIR, CBS and EBS only count bytes of IP packets β they do not include link specific headers. So don't go counting your Ethernet headers in there, that's not the vibe π
And this part is important, no cap: CBS and EBS need to be greater than zero if CIR and EIR are non-zero respectively. Like, that's the rule fr fr π
Definition at line 61 of file rte_meter.h.
π§ FIELD DOCUMENTATION π§
β uint64_t cir
Committed Information Rate (CIR). Measured in bytes per second β±οΈβ¨
Definition at line 62 of file rte_meter.h.
β uint64_t eir
Excess Information Rate (EIR). Measured in bytes per second β±οΈπ¦
Definition at line 63 of file rte_meter.h.
β uint64_t cbs
Committed Burst Size (CBS). Measured in bytes π
Definition at line 64 of file rte_meter.h.
β uint64_t ebs
Excess Burst Size (EBS). Measured in bytes π
Definition at line 65 of file rte_meter.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. Not me hand-writing it, the robots did it π€β¨ the robots ate and left no crumbs.
Okay bestie that's the whole page π«Ά β this one's from DPDK, Version 26.03.0, and it's literally signed off by the fine folks at DPDK, so go meter those flows responsibly πβπ
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms