rte_eth_vmdq_dcb_conf(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– 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