rte_eth_dc...ue_mapping(3)
β¨ NAME β¨
rte_eth_dcb_tc_queue_mapping β the struct that hands you the tea on how queues and TCs (traffic classes) are mapped on both the Tx and the Rx paths π¦
(also hey bestie, this page lives in the Library Functions Manual, and its name up top is rte_eth_dc...ue_mapping(3) β yes the name is literally truncated with dots, that's just how the header prints it, we don't make the rules π
)
π SYNOPSIS π
#include <rte_ethdev.h>
π Data Fields π
struct {
} tc_rxq[RTE_ETH_MAX_VMDQ_POOL][RTE_ETH_DCB_NUM_TCS]
struct {
} tc_txq[RTE_ETH_MAX_VMDQ_POOL][RTE_ETH_DCB_NUM_TCS]
okay so yes, those are anonymous structs, that's not me being lazy, that is genuinely what's there. periodt.
πΈ Detailed Description πΈ
So this struct exists for exactly one iconic purpose: to get you the info about queue and TC mapping on both the Tx and the Rx paths. That's it. That's the whole job. And it ate. π
Definition at line 2006 of file rte_ethdev.h.
π§ Field Documentation π§
β struct { ... } tc_rxq[RTE_ETH_MAX_VMDQ_POOL][RTE_ETH_DCB_NUM_TCS]
Rx queues assigned to tc per Pool. π
Two dims, bestie: RTE_ETH_MAX_VMDQ_POOL across, RTE_ETH_DCB_NUM_TCS down, and inside each cell is a lil anonymous struct. It's giving "nested array energy" and we're obsessed.
π struct { ... } tc_txq[RTE_ETH_MAX_VMDQ_POOL][RTE_ETH_DCB_NUM_TCS]
Rx queues assigned to tc per Pool.
lowkey yes, the doc literally says Rx on thetc_txqline too π I'm not paraphrasing it away, I'm reporting it exactly as the page has it. If that's a typo, that's a docs typo, not a me typo, and the actual field name is stilltc_txqand the dims are stillRTE_ETH_MAX_VMDQ_POOLandRTE_ETH_DCB_NUM_TCS. no cap.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human main character, just a very hardworking generator π«Ά
and that's the whole page, bestie β DPDK, Version 25.11.3 π no date on this footer fr fr, just the version, so that's the vibe check and we're logging off π β¨π
π¦ 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