rte_eth_dcb_info(3)
π NAME π
rte_eth_dcb_info β bestie, it's a struct, and it's the one that spills the DCB tea ββ¨
π SYNOPSIS π
This is a page from the Library Functions Manual, section 3, so you already know it's documentation for a C thing you're gonna #include and vibe with.
#include <rte_ethdev.h>
β¨ Data Fields β¨
uint8_t nb_tcsuint8_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 π¦
Okay so picture this: it's a structure you use to get the information of DCB. That's the whole job. It's carrying the TC UP mapping and the queue TC mapping around with it, like a little handbag full of networking facts ππ
Definition at line 2023 of file rte_ethdev.h. Yes, we cite our sources here, no cap.
πΈ Field Documentation πΈ
β uint8_t nb_tcs
The number of TCs. That's it, that's the field, it's giving concise π
Definition at line 2024 of file rte_ethdev.h.
π uint8_t prio_tc[RTE_ETH_DCB_NUM_USER_PRIORITIES]
Priority to tc β the mapping, bestie, the moment where a priority finds its TC π«Ά
Definition at line 2025 of file rte_ethdev.h.
π₯ uint8_t tc_bws[RTE_ETH_DCB_NUM_TCS]
Tx BW percentage for each TC. Percentages, plural, per TC, all of them ππ
Definition at line 2026 of file rte_ethdev.h.
π§ struct rte_eth_dcb_tc_queue_mapping tc_queue
Rx queues assigned to tc. Which queues are doing the receiving, and which tc they belong to β iconic behaviour, honestly π
Definition at line 2028 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not a human typing this one out by hand, it's the robots doing their little thing π€β¨
And that's the whole page, bestie! It's DPDK Version 25.11.3, the rte_eth_dcb_info(3) page, and it was out here living its best life in the manual. Mwah π Go forth and read your structs π
ππ¦
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms