DPDK  19.11.10
Data Fields
rte_red_params Struct Reference

#include <rte_red.h>

Data Fields

uint16_t min_th
 
uint16_t max_th
 
uint16_t maxp_inv
 
uint16_t wq_log2
 

Detailed Description

RED configuration parameters passed by user

Examples:
examples/qos_sched/cfg_file.c.

Definition at line 50 of file rte_red.h.

Field Documentation

◆ min_th

uint16_t min_th

Minimum threshold for queue (max_th)

Examples:
examples/qos_sched/cfg_file.c.

Definition at line 51 of file rte_red.h.

◆ max_th

uint16_t max_th

Maximum threshold for queue (max_th)

Examples:
examples/qos_sched/cfg_file.c.

Definition at line 52 of file rte_red.h.

◆ maxp_inv

uint16_t maxp_inv

Inverse of packet marking probability maximum value (maxp = 1 / maxp_inv)

Examples:
examples/qos_sched/cfg_file.c.

Definition at line 53 of file rte_red.h.

◆ wq_log2

uint16_t wq_log2

Negated log2 of queue weight (wq = 1 / (2 ^ wq_log2))

Examples:
examples/qos_sched/cfg_file.c.

Definition at line 54 of file rte_red.h.


The documentation for this struct was generated from the following file: