rte_eth_dcb_info
Contents
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_tnb_tcs
number of TCs
Definition at line 1991 of file rte_ethdev.h.
uint8_tprio_tc[RTE_ETH_DCB_NUM_USER_PRIORITIES]
Priority to tc
Definition at line 1992 of file rte_ethdev.h.
uint8_ttc_bws[RTE_ETH_DCB_NUM_TCS]
Tx BW percentage for each TC
Definition at line 1993 of file rte_ethdev.h.
structrte_eth_dcb_tc_queue_mappingtc_queue
Rx queues assigned to tc
Definition at line 1995 of file rte_ethdev.h.
Name
rte_eth_dcb_info
Synopsis
#include <rte_ethdev.h>
DataFields
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_mappingtc_queue