rte_meter_...115_params(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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 cir
  • uint64_t eir
  • uint64_t cbs
  • uint64_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