rte_red_params(3)

πŸ’– NAME πŸ’–

rte_red_params β€” bestie, this is the lil struct that holds all ur RED config settings, no cap ✨


🌸 SYNOPSIS 🌸

#include <rte_red.h>

πŸŽ€ Data Fields πŸŽ€

  • uint16_t min_th
  • uint16_t max_th
  • uint16_t maxp_inv
  • uint16_t wq_log2

πŸ¦‹ Detailed Description πŸ¦‹

Okay so rte_red_params is literally the bundle of RED configuration parameters that get passed by the user πŸ’… That's the whole vibe. It exists so u can hand ur RED settings over in one cute lil package.

Fr fr, this is defined at line 45 of file rte_red.h πŸ‘‘

✨ Field Documentation ✨

πŸ’œ uint16_t min_th

The minimum threshold for the queue (and yes bestie, the original says max_th in the parens, we're keeping it exactly as-is, don't come for me πŸ™ˆ).

Defined at line 46 of file rte_red.h.

🌈 uint16_t max_th

The maximum threshold for the queue (again, the original says max_th in the parens β€” iconic of it tbh).

Defined at line 47 of file rte_red.h.

πŸ“ uint16_t maxp_inv

The inverse of the packet marking probability's maximum value, so like:

maxp = 1 / maxp_inv

Defined at line 48 of file rte_red.h.

🧚 uint16_t wq_log2

The negated log2 of the queue weight, which is giving:

wq = 1 / (2 ^ wq_log2)

Defined at line 49 of file rte_red.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, the robot did it, periodt πŸ€–βœ¨


And that's the whole page bestie 🫢 This was DPDK, Version 25.11.3, and the rte_red_params(3) manual β€” stay slay, keep ur thresholds lowkey in check, and remember: the robots wrote this one, I just made it cute πŸ’–πŸŒΈπŸŽ€

πŸ“¦ where this page comes from