DPDK  23.03.0
Data Fields
rte_eth_cman_config Struct Reference

#include <rte_ethdev.h>

Data Fields

enum rte_eth_cman_obj obj
 
enum rte_cman_mode mode
 
uint16_t rx_queue
 
uint8_t rsvd_obj_params [4]
 
struct rte_cman_red_params red
 
uint8_t rsvd_mode_params [4]
 

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 5650 of file rte_ethdev.h.

Field Documentation

◆ obj

enum rte_eth_cman_obj obj

Congestion management object

Definition at line 5652 of file rte_ethdev.h.

◆ mode

enum rte_cman_mode mode

Congestion management mode

Definition at line 5654 of file rte_ethdev.h.

◆ rx_queue

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 5662 of file rte_ethdev.h.

◆ rsvd_obj_params

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 5669 of file rte_ethdev.h.

◆ red

struct rte_cman_red_params red

RED configuration parameters.

Valid when mode is RTE_CMAN_RED.

Definition at line 5677 of file rte_ethdev.h.

◆ rsvd_mode_params

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 5684 of file rte_ethdev.h.


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