DPDK  20.05.0
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

uint16_t min_th

Minimum threshold for queue (max_th)

Definition at line 51 of file rte_red.h.

uint16_t max_th

Maximum threshold for queue (max_th)

Definition at line 52 of file rte_red.h.

uint16_t maxp_inv

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

Definition at line 53 of file rte_red.h.

uint16_t wq_log2

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

Definition at line 54 of file rte_red.h.


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