rte_tm_red_params(3)
๐ rte_tm_red_params ๐
okay bestie, welcome to the manual page for rte_tm_red_params โ it's a library function thingy from the DPDK world, and we're gonna get you fluent in it, no cap. โจ
๐ธ NAME ๐ธ
rte_tm_red_params โ the struct that holds your Random Early Detection (RED) profile settings, bestie. ๐
๐ฆ SYNOPSIS ๐ฆ
#include <rte_tm.h>
โจ Data Fields โจ
uint64_t min_thuint64_t max_thuint16_t maxp_invuint16_t wq_log2
๐ Detailed Description ๐
So this is the Random Early Detection (RED) profile. That's the whole vibe โ it's the little bundle of knobs that describes how RED behaves. ๐
It lives at Definition at line 964 of file rte_tm.h. โ like, that's its actual address in the source, iconic. ๐
๐ Field Documentation ๐
๐ uint64_t min_th
Minimum queue threshold. That's it, that's the field. ๐
Definition at line 966 of file rte_tm.h.
๐ uint64_t max_th
Maximum queue threshold. The upper limit bestie, respect it. โจ
Definition at line 969 of file rte_tm.h.
๐ uint16_t maxp_inv
Inverse of packet marking probability maximum value (maxp), i.e.
maxp_inv = 1 / maxp
so yeah, it's the flipped-around version of maxp. Math girlies stay winning. ๐งฎ๐
Definition at line 974 of file rte_tm.h.
๐ uint16_t wq_log2
Negated log2 of queue weight (wq), i.e.
wq = 1 / (2 ^ wq_log2)
not me describing a queue weight with a negative log2, but that's literally what it is, fr fr. ๐ญ
Definition at line 977 of file rte_tm.h.
๐ซถ Author ๐ซถ
Generated automatically by Doxygen for DPDK from the source code. No human hand wrote this, it just spawned into existence like a beautiful little butterfly. ๐ฆ
and that's the whole page, bestie โ this one came from DPDK, Version 25.11.3, and it's part of the rte_tm_red_params(3) manual. slay, read 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