rte_tm_wred_params(3)

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

๐Ÿ’– rte_tm_wred_params ๐Ÿ’–

okay bestie, welcome to this page from the Library Functions Manual. It's all about rte_tm_wred_params, and it's literally the struct for a Weighted RED (WRED) profile. ๐Ÿ’…โœจ

๐ŸŽ€ NAME ๐ŸŽ€

rte_tm_wred_params

๐ŸŒธ SYNOPSIS ๐ŸŒธ

#include <rte_tm.h>

๐Ÿฆ‹ Data Fields ๐Ÿฆ‹

  • struct rte_tm_red_params red_params [RTE_COLORS]
  • int packet_mode

๐Ÿ”ฅ Detailed Description ๐Ÿ”ฅ

so here's the vibe: this is the Weighted RED (WRED) profile. Multiple WRED contexts can share the same WRED profile โ€” yes, sharing is caring, no cap. ๐Ÿซถ

Each leaf node with WRED enabled as its congestion management mode has zero or one private WRED context (only one leaf node using it) and/or zero, one or several shared WRED contexts (multiple leaf nodes use the same WRED context). A private WRED context is used to perform congestion management for a single leaf node, while a shared WRED context is used to perform congestion management for a group of leaf nodes. periodt. ๐Ÿ’…

๐Ÿ‘€ See also

  • struct rte_tm_capabilities::cman_wred_packet_mode_supported
  • struct rte_tm_capabilities::cman_wred_byte_mode_supported

Definition at line 994 of file rte_tm.h.

๐Ÿ’œ Field Documentation ๐Ÿ’œ

struct rte_tm_red_params red_params[RTE_COLORS]

One set of RED parameters per packet color. ๐ŸŽจ

Definition at line 996 of file rte_tm.h.

int packet_mode

When non-zero, the min_th and max_th thresholds are specified in packets (WRED packet mode). When zero, the min_th and max_th thresholds are specified in bytes (WRED byte mode). ๐Ÿ“ฆโžก๏ธ๐Ÿงฎ

Definition at line 1002 of file rte_tm.h.

๐ŸŒˆ Author ๐ŸŒˆ

Generated automatically by Doxygen for DPDK from the source code.


and that's the whole page, bestie! DPDK Version 26.03.0, rte_tm_wred_params(3) โ€” mwah, bye! ๐Ÿ’‹๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from