---
name: "rte_eth_vmdq_dcb_conf"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_eth_vmdq_dcb_conf"
---

# rte\_eth\_vmdq\_dcb\_conf(3)

## NAME

rte\_eth\_vmdq\_dcb\_conf

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

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.

Definition at line **963** of file **rte\_ethdev.h**.

## Field Documentation

### enum rte\_eth\_nb\_pools nb\_queue\_pools

With DCB, 16 or 32 pools

Definition at line **964** of file **rte\_ethdev.h**.

### uint8\_t enable\_default\_pool

If non-zero, use a default pool

Definition at line **965** of file **rte\_ethdev.h**.

### uint8\_t default\_pool

The default pool, if applicable

Definition at line **966** of file **rte\_ethdev.h**.

### uint8\_t nb\_pool\_maps

We can have up to 64 filters/mappings

Definition at line **967** of file **rte\_ethdev.h**.

### uint16\_t vlan\_id

The VLAN ID of the received frame

Definition at line **969** of file **rte\_ethdev.h**.

### uint64\_t pools

Bitmask of pools for packet Rx

Definition at line **970** of file **rte\_ethdev.h**.

### struct { ... } pool\_map\[RTE\_ETH\_VMDQ\_MAX\_VLAN\_FILTERS\]

VMDq VLAN pool maps.

### uint8\_t dcb\_tc\[RTE\_ETH\_DCB\_NUM\_USER\_PRIORITIES\]

Selects a queue in a pool

Definition at line **973** of file **rte\_ethdev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
