---
name: "rte_eth_cman_config"
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_eth_cman_config"
---

# rte\_eth\_cman\_config(3)

## NAME

rte\_eth\_cman\_config

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

enum **rte\_eth\_cman\_obj** **obj**\
 enum **rte\_cman\_mode** **mode**\

## Detailed Description

**Warning**

**EXPERIMENTAL:** this structure may change, or be removed, without prior notice

A structure used to configure the ethdev congestion management.

Definition at line **6017** of file **rte\_ethdev.h**.

## Field Documentation

### enum rte\_eth\_cman\_obj obj

Congestion management object

Definition at line **6019** of file **rte\_ethdev.h**.

### enum rte\_cman\_mode mode

Congestion management mode

Definition at line **6021** of file **rte\_ethdev.h**.

### uint16\_t rx\_queue

Rx queue to configure congestion management.

Valid when object is RTE\_ETH\_CMAN\_OBJ\_RX\_QUEUE or RTE\_ETH\_CMAN\_OBJ\_RX\_QUEUE\_MEMPOOL.

Definition at line **6029** of file **rte\_ethdev.h**.

### uint8\_t rsvd\_obj\_params\[4\]

Reserved for future fields. It must be set to 0 when **rte\_eth\_cman\_config\_set()** is invoked and will be returned as 0 when **rte\_eth\_cman\_config\_get()** is invoked.

Definition at line **6036** of file **rte\_ethdev.h**.

### struct rte\_cman\_red\_params red

RED configuration parameters.

Valid when mode is RTE\_CMAN\_RED.

Definition at line **6044** of file **rte\_ethdev.h**.

### uint8\_t rsvd\_mode\_params\[4\]

Reserved for future fields. It must be set to 0 when **rte\_eth\_cman\_config\_set()** is invoked and will be returned as 0 when **rte\_eth\_cman\_config\_get()** is invoked.

Definition at line **6051** of file **rte\_ethdev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
