DPDK  2.0.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 [ETH_VMDQ_MAX_VLAN_FILTERS]
uint8_t dcb_queue [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.

Field Documentation

uint8_t dcb_queue[ETH_DCB_NUM_USER_PRIORITIES]

Selects a queue in a pool

uint8_t default_pool

The default pool, if applicable

uint8_t enable_default_pool

If non-zero, use a default pool

uint8_t nb_pool_maps

We can have up to 64 filters/mappings

enum rte_eth_nb_pools nb_queue_pools

With DCB, 16 or 32 pools

struct { ... } pool_map[ETH_VMDQ_MAX_VLAN_FILTERS]

VMDq vlan pool maps.

uint64_t pools

Bitmask of pools for packet rx

uint16_t vlan_id

The vlan id of the received frame


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