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_thuint8_t max_thuint16_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
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms