rte_meter_...115_params(3)

πŸ’– rte_meter_trtcm_rfc4115_params πŸ’–

okay bestie so this one lives in the Library Functions Manual (section 3, the rte_meter_...115_params(3) one, iykyk) and it's literally just a cute little struct that Doxygen gave us. no cap, it's giving "documentation generated at 3am" energy but we're gonna make it make sense 🫢


✨ NAME ✨

rte_meter_trtcm_rfc4115_params β€” the struct that holds your trTCM params, one whole set per metered traffic flow, periodt πŸ’…


🌸 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 per metered traffic flow, and here's the tea πŸ“ β€” the CIR, EIR, CBS and EBS parameters only count bytes of IP packets and they do not include link specific headers. like, the link headers are simply not invited to this party, no shade.

and listen closely bestie because this one matters: the CBS and EBS need to be greater than zero if CIR and EIR are none-zero respectively. that's the rule. it's lowkey non-negotiable πŸ‘‘

fr fr β€” <pink>zero burst size with a non-zero rate</pink> is not the vibe you want. read that sentence again, she said "respectively", she meant it.

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.

like, nobody hand-wrote this, it's a robot bestie and honestly? she ate. πŸ€–πŸ’…


aaaand that's the whole page, bestie!! mwah, go configure your meter responsibly πŸŒˆπŸ’–

β€” with love from DPDK, Version 25.11.3 (that rte_meter_...115_params(3) footer energy, slay) πŸŽ€πŸŒŸ

πŸ“¦ where this page comes from