logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_eth_vmdq_dcb_conf

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                        rte_eth_vmdq_dcb_conf(3)

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

enumrte_eth_nb_poolsnb_queue_pools
       With DCB, 16 or 32 pools

       Definition at line 964 of file rte_ethdev.h.

   uint8_tenable_default_pool
       If non-zero, use a default pool

       Definition at line 965 of file rte_ethdev.h.

   uint8_tdefault_pool
       The default pool, if applicable

       Definition at line 966 of file rte_ethdev.h.

   uint8_tnb_pool_maps
       We can have up to 64 filters/mappings

       Definition at line 967 of file rte_ethdev.h.

   uint16_tvlan_id
       The VLAN ID of the received frame

       Definition at line 969 of file rte_ethdev.h.

   uint64_tpools
       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_tdcb_tc[RTE_ETH_DCB_NUM_USER_PRIORITIES]
       Selects a queue in a pool

       Definition at line 973 of file rte_ethdev.h.

Name

       rte_eth_vmdq_dcb_conf

Synopsis

       #include <rte_ethdev.h>

   DataFields
       enum rte_eth_nb_poolsnb_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]

See Also