---
name: "rte_red_params"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_red_params"
---

# rte\_red\_params(3)

## NAME

rte\_red\_params

## SYNOPSIS

`#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

Definition at line **45** of file **rte\_red.h**.

## Field Documentation

### uint16\_t min\_th

Minimum threshold for queue (max\_th)

Definition at line **46** of file **rte\_red.h**.

### uint16\_t max\_th

Maximum threshold for queue (max\_th)

Definition at line **47** of file **rte\_red.h**.

### uint16\_t maxp\_inv

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

Definition at line **48** of file **rte\_red.h**.

### uint16\_t wq\_log2

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

Definition at line **49** of file **rte\_red.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
