A structure used to configure the VMDQ feature of an Ethernet port when not combined with the DCB feature.
Using this feature, packets are routed to a pool of queues. By default, the pool selection is based on the MAC address, the vlan id in the vlan tag as specified in the pool_map array. Passing the ETH_VMDQ_ACCEPT_UNTAG in the rx_mode field allows pool selection using only the MAC address. MAC address to pool mapping is done using the rte_eth_dev_mac_addr_add function, with the pool parameter corresponding to the pool id.
Queue selection within the selected pool will be done using RSS when it is enabled or revert to the first queue of the pool if not.
A default pool may be used, if desired, to route all traffic which does not match the vlan filter rules or any pool MAC address.
- examples/vhost/main.c, examples/vmdq/main.c, and examples/vmdq_dcb/main.c.
Definition at line 653 of file rte_ethdev.h.