rte_tm_wred_params(3)
๐ 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_supportedstruct 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
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms