rte_eth_vmdq_dcb_conf(3)
π hey bestie, welcome to rte_eth_vmdq_dcb_conf(3) π
okay so this is the rte_eth_vmdq_dcb_conf(3) page from the Library Functions Manual, and itβs literally the struct that tells an Ethernet port how to do VMDq+DCB. grab your lil snack, weβre getting into it πβ¨
πΈ NAME πΈ
rte_eth_vmdq_dcb_conf β the VMDq+DCB configuration struct, no cap π
π¦ SYNOPSIS π¦
#include <rte_ethdev.h>
π Data Fields π
enum rte_eth_nb_pools nb_queue_pools
uint8_t enable_default_pool
uint8_t default_pool
uint8_t nb_pool_maps
struct {
uint16_t vlan_id
uint64_t pools
} pool_map [RTE_ETH_VMDQ_MAX_VLAN_FILTERS]
uint8_t dcb_tc [RTE_ETH_DCB_NUM_USER_PRIORITIES]
π Detailed Description π
A structure used to configure the VMDq+DCB feature of an Ethernet port. iconic behavior, honestly π
Using this feature, packets are routed to a pool of queues, based on the VLAN ID in the VLAN tag, and then to a specific queue within that pool, using the user priority VLAN tag field. itβs giving βtraffic gets sent to exactly the right lil queueβ energy β¨
A default pool may be used, if desired, to route all traffic which does not match the VLAN filter rules. so yes, the unmatched traffic can still have a home π«Ά
Definition at line 994 of file rte_ethdev.h.
π₯ Field Documentation π₯
π enum rte_eth_nb_pools nb_queue_pools
With DCB, 16 or 32 pools. those are the numbers, bestie β 16 or 32, periodt π
Definition at line 995 of file rte_ethdev.h.
πΈ uint8_t enable_default_pool
If non-zero, use a default pool. simple as that β¨
Definition at line 996 of file rte_ethdev.h.
π uint8_t default_pool
The default pool, if applicable. yes, only if it applies, bestie π
Definition at line 997 of file rte_ethdev.h.
π¦ uint8_t nb_pool_maps
We can have up to 64 filters/mappings. sixty-four is the limit, noted and slayed π
Definition at line 998 of file rte_ethdev.h.
π uint16_t vlan_id
The VLAN ID of the received frame. itβs the VLAN ID, in the received frame, exactly π·
Definition at line 1000 of file rte_ethdev.h.
β uint64_t pools
Bitmask of pools for packet Rx. bitmask, pools, packet Rx β got it π«
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 whole vibe of this field πΊοΈ
π uint8_t dcb_tc[RTE_ETH_DCB_NUM_USER_PRIORITIES]
Selects a queue in a pool. yes, it picks the queue inside the pool π―
Definition at line 1004 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. ty Doxygen, u ate π€π
π thatβs the whole page, bestie! source/version: DPDK, Version 26.03.0 β and the footer didnβt show a separate date, so Iβm not inventing one, periodt. rte_eth_vmdq_dcb_conf(3) out π«Άβ¨π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms