rte_eth_vmdq_dcb_conf(3)
π rte_eth_vmdq_dcb_conf π
okay bestie, sit down, hydrate, because we're reading a manual page from DPDK β it lives in section 3 of the library functions manual, so it's a C struct doc, not a command you run. no cap, it's giving "the header file is the tutorial" energy. π
β¨ NAME β¨
rte_eth_vmdq_dcb_conf β literally the whole page is this one struct, she's the main character π
β¨ SYNOPSIS β¨
#include <rte_ethdev.h>
πΈ Data Fields
enum rte_eth_nb_pools nb_queue_poolsuint8_t enable_default_pooluint8_t default_pooluint8_t nb_pool_mapsstruct {uint16_t vlan_iduint64_t pools
} pool_map [RTE_ETH_VMDQ_MAX_VLAN_FILTERS]uint8_t dcb_tc [RTE_ETH_DCB_NUM_USER_PRIORITIES]
β¨ Detailed Description β¨
okay so this struct is the lil configuration kit for the VMDq+DCB feature of an Ethernet port. that's the whole vibe. π¦
using this feature, packets get routed to a pool of queues, based on the VLAN ID in the VLAN tag β and then they get routed to a specific queue inside that pool, using the user priority field of the VLAN tag. two-step sorting, she's organized, we love her. β¨
and if you want, a default pool may be used to route all the traffic that doesn't match the VLAN filter rules. like a catch-all bestie for the strays. π«Ά
π Definition at line 994 of file rte_ethdev.h.
β¨ Field Documentation β¨
π enum rte_eth_nb_pools nb_queue_pools
with DCB, it's 16 or 32 pools. that's the number, periodt.
π Definition at line 995 of file rte_ethdev.h.
π uint8_t enable_default_pool
if it's non-zero, you use a default pool. zero means no default pool moment. π
π Definition at line 996 of file rte_ethdev.h.
π uint8_t default_pool
the default pool itself, if applicable. (see above: that "if" is doing a lot of work.)
π Definition at line 997 of file rte_ethdev.h.
π uint8_t nb_pool_maps
you can have up to 64 filters/mappings. sixty-four, slay. π₯
π Definition at line 998 of file rte_ethdev.h.
π uint16_t vlan_id
the VLAN ID of the received frame. she's the one doing the sorting, iykyk.
π Definition at line 1000 of file rte_ethdev.h.
π uint64_t pools
a bitmask of pools for packet Rx. it's a bitmask bestie, so it's giving flags-not-indices. π
π Definition at line 1001 of file rte_ethdev.h.
π struct { ... } pool_map[RTE_ETH_VMDQ_MAX_VLAN_FILTERS]
VMDq VLAN pool maps. that's the entire description, she's concise and iconic. π
π uint8_t dcb_tc[RTE_ETH_DCB_NUM_USER_PRIORITIES]
this one selects a queue in a pool. after the pool's been picked by the VLAN ID, this is the lil tiebreaker. β¨
π Definition at line 1004 of file rte_ethdev.h.
β¨ Author β¨
generated automatically by Doxygen for DPDK, straight from the source code. no human hand-wrote this, it's a robot with a build step π§
and that's the whole page, bestie!! footer tea for the sign-off: this is DPDK, Version 25.11.3, and it's the rte_eth_vmdq_dcb_conf(3) page from the Library Functions Manual. go configure some pools, you absolute legend ππΈβ¨
π¦ 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