DPDK  24.07.0
Data Fields
rte_eth_vmdq_dcb_conf Struct Reference

#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.

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.

A default pool may be used, if desired, to route all traffic which does not match the VLAN filter rules.

Examples:
examples/vmdq_dcb/main.c.

Definition at line 954 of file rte_ethdev.h.

Field Documentation

◆ nb_queue_pools

enum rte_eth_nb_pools nb_queue_pools

With DCB, 16 or 32 pools

Examples:
examples/vmdq_dcb/main.c.

Definition at line 955 of file rte_ethdev.h.

◆ enable_default_pool

uint8_t enable_default_pool

If non-zero, use a default pool

Examples:
examples/vmdq_dcb/main.c.

Definition at line 956 of file rte_ethdev.h.

◆ default_pool

uint8_t default_pool

The default pool, if applicable

Examples:
examples/vmdq_dcb/main.c.

Definition at line 957 of file rte_ethdev.h.

◆ nb_pool_maps

uint8_t nb_pool_maps

We can have up to 64 filters/mappings

Examples:
examples/vmdq_dcb/main.c.

Definition at line 958 of file rte_ethdev.h.

◆ vlan_id

uint16_t vlan_id

The VLAN ID of the received frame

Examples:
examples/vmdq_dcb/main.c.

Definition at line 960 of file rte_ethdev.h.

◆ pools

uint64_t pools

Bitmask of pools for packet Rx

Examples:
examples/vmdq_dcb/main.c.

Definition at line 961 of file rte_ethdev.h.

◆ pool_map

struct { ... } pool_map[RTE_ETH_VMDQ_MAX_VLAN_FILTERS]

VMDq VLAN pool maps.

Examples:
examples/vmdq_dcb/main.c.

◆ dcb_tc

Selects a queue in a pool

Examples:
examples/vmdq_dcb/main.c.

Definition at line 964 of file rte_ethdev.h.


The documentation for this struct was generated from the following file: