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_th
  • uint64_t max_th
  • uint16_t maxp_inv
  • uint16_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