---
name: "rte_eth_dcb_info"
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_dcb_info"
---

# rte\_eth\_dcb\_info(3)

## NAME

rte\_eth\_dcb\_info

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

uint8\_t **nb\_tcs**\
 uint8\_t **prio\_tc** \[**RTE\_ETH\_DCB\_NUM\_USER\_PRIORITIES**\]\
 uint8\_t **tc\_bws** \[RTE\_ETH\_DCB\_NUM\_TCS\]\
 struct **rte\_eth\_dcb\_tc\_queue\_mapping** **tc\_queue**\

## Detailed Description

A structure used to get the information of DCB. It includes TC UP mapping and queue TC mapping.

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

## Field Documentation

### uint8\_t nb\_tcs

number of TCs

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

### uint8\_t prio\_tc\[RTE\_ETH\_DCB\_NUM\_USER\_PRIORITIES\]

Priority to tc

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

### uint8\_t tc\_bws\[RTE\_ETH\_DCB\_NUM\_TCS\]

Tx BW percentage for each TC

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

### struct rte\_eth\_dcb\_tc\_queue\_mapping tc\_queue

Rx queues assigned to tc

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
