rte_meter_srtcm_params(3)

πŸ’– rte_meter_srtcm_params πŸ’–

okay bestie, so this is a page from the DPDK library manual (Library Functions Manual, if we're being fancy ✨) and it's all about rte_meter_srtcm_params β€” literally the struct that holds your srTCM params. no cap.


πŸŽ€ NAME πŸŽ€

rte_meter_srtcm_params β€” the struct, the moment, the icon πŸ‘‘


✨ SYNOPSIS ✨

#include <rte_meter.h>

πŸ¦‹ Data Fields πŸ¦‹

  • uint64_t cir
  • uint64_t cbs
  • uint64_t ebs

🌸 Detailed Description 🌸

so this is your srTCM parameters, per metered traffic flow 🫢 like, one of these per flow, got it?

big big thing: the CIR, CBS and EBS parameters only count bytes of IP packets and they do not include link specific headers. so if you were out here counting your headers too, bestie, that's not the vibe β€” pack it up πŸ™ˆ

and another one: at least one of the CBS or EBS parameters has to be greater than zero. that's not a suggestion, that's the rules πŸ’…

Definition at line 41 of file rte_meter.h. ✨

πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint64_t cir

Committed Information Rate (CIR). it's measured in bytes per second. ticks and tocks, but in bytes πŸ“

Definition at line 42 of file rte_meter.h.

🌈 uint64_t cbs

Committed Burst Size (CBS). measured in bytes. your guaranteed lil burst allowance πŸŽ€

Definition at line 43 of file rte_meter.h.

⭐ uint64_t ebs

Excess Burst Size (EBS). measured in bytes. the bonus burst energy, go a lil extra 🧚

Definition at line 44 of file rte_meter.h.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for DPDK from the source code. yes bestie, a robot wrote this, and honestly? it ate πŸ€–βœ¨


aaaand that's the whole page, no crumbs left 🌸 this was brought to you by DPDK, Version 25.11.3 β€” manual page rte_meter_srtcm_params(3), signing off πŸ’…πŸ’œ bye bye bestie, go meter those flows responsibly πŸ¦‹

πŸ“¦ where this page comes from