rte_cman_red_params(3)

๐Ÿ“ฆ version 26.03, in nixos 26.05, nixpkgs unstable

๐Ÿ’… NAME ๐Ÿ’…

rte_cman_red_params โ€” bestie, this is literally the config struct for RED-based congestion management, and it's about to be your new fave โœจ


โœจ SYNOPSIS โœจ

#include <rte_cman.h>

๐ŸŽ€ Data Fields ๐ŸŽ€

  • uint8_t min_th
  • uint8_t max_th
  • uint16_t maxp_inv

๐ŸŒธ Detailed Description ๐ŸŒธ

Okay so real talk: this struct holds the RED based congestion management configuration parameters. That's it, that's the vibe. It's giving "small but iconic." ๐Ÿซถ

Lowkey important: this is defined at line 30 of file rte_cman.h โ€” iykyk, go look if you don't believe me ๐Ÿ’…

๐Ÿฆ‹ Field Documentation ๐Ÿฆ‹

๐Ÿ“ uint8_t min_th

The Minimum threshold (min_th) value, bestie. And no cap โ€” the value is expressed as a percentage, and it must be in 0 to 100 (inclusive). Don't be out here passing 150, that's not the move ๐Ÿ˜ญ

Defined at line 36 of file rte_cman.h. Slay.

๐ŸŒˆ uint8_t max_th

The Maximum threshold (max_th) value. Same rule as its bestie up there: value expressed as a percentage, and it must be in 0 to 100 (inclusive). Periodt. โœจ

Defined at line 42 of file rte_cman.h.

๐Ÿ”ฅ uint16_t maxp_inv

Okay this one's a lil math moment ๐Ÿงฎ โ€” it's the inverse of packet marking probability maximum value, and the formula is exactly:

maxp = 1 / maxp_inv

That's it, that's the whole field. Main character energy for a denominator, honestly ๐Ÿ‘‘

Defined at line 44 of file rte_cman.h.

๐Ÿ‘‘ Author ๐Ÿ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not me writing this by hand at 2am, it's the robots ๐Ÿงš


And that's the whole page, bestie!! ๐Ÿ’– You just read the rte_cman_red_params(3) manpage from DPDK Version 26.03.0 โ€” go forth and configure your thresholds responsibly, mwah ๐ŸŽ€๐Ÿ’œ

๐Ÿ“ฆ where this page comes from