rte_cman_red_params(3)

πŸ’– rte_cman_red_params πŸ’–

okay bestie, gather round, because today we're meeting rte_cman_red_params β€” a lil' struct that lives in the DPDK C library (that's section 3 of the manual, iykyk). it's not a function, it's a vibe: a bundle of settings that tells RED-based congestion management how to behave. iconic, honestly. πŸŽ€


✨ SYNOPSIS ✨

#include <rte_cman.h>

πŸ¦‹ Data Fields πŸ¦‹

  • uint8_t min_th
  • uint8_t max_th
  • uint16_t maxp_inv

🌸 Detailed Description 🌸

so. this struct is the RED based congestion management configuration parameters package deal. everything RED needs to know about your thresholds and your marking probability, all cozied up in one little struct. πŸ’…

fun fact for the group chat: it's Definition at line 30 of file rte_cman.h. periodt.


πŸ‘‘ Field Documentation πŸ‘‘

uint8_t min_th

the Minimum threshold (min_th) value πŸ’–

it's expressed as a percentage, and listen β€” the value must be in 0 to 100 (inclusive). inclusive, bestie. don't push it.

Definition at line 36 of file rte_cman.h.

uint8_t max_th

the Maximum threshold (max_th) value ✨

same energy as its bestie above: expressed as a percentage, and the value must be in 0 to 100 (inclusive).

Definition at line 42 of file rte_cman.h.

uint16_t maxp_inv

the Inverse of packet marking probability maximum value 🌈

the math, spelled out exactly as the source says it:

maxp = 1 / maxp_inv

so it's giving "flip the fraction and call it a day." πŸ”₯

Definition at line 44 of file rte_cman.h.


🫢 Author 🫢

not a human author, bestie β€” this page was Generated automatically by Doxygen for DPDK from the source code. the robots did this one. πŸ€–πŸ’œ


lowkey a public service announcement: this is a data field / struct documentation page, so there's no return value, no exit status, and no SEE ALSO list here β€” just the fields and their definitions. don't come for me, that's literally all the original had. 😭

that's the whole page, bestie! 🌟 brought to you by DPDK, Version 25.11.3 β€” served fresh, no cap. go configure your thresholds responsibly. mwah πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from