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_switch_info

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                          rte_eth_switch_info(3)

Detailed Description

       Ethernet device associated switch information

       Definition at line 1698 of file rte_ethdev.h.

Field Documentation

constchar*name
       switch name

       Definition at line 1699 of file rte_ethdev.h.

   uint16_tdomain_id
       switch domain ID

       Definition at line 1700 of file rte_ethdev.h.

   uint16_tport_id
       Mapping to the devices physical switch port as enumerated from the perspective of the embedded
       interconnect/switch. For SR-IOV enabled device this may correspond to the VF_ID of each virtual function,
       but each driver should explicitly define the mapping of switch port identifier to that physical
       interconnect/switch

       Definition at line 1708 of file rte_ethdev.h.

   uint16_trx_domain
       Shared Rx queue sub-domain boundary. Only ports in same Rx domain and switch domain can share Rx queue.
       Valid only if device advertised RTE_ETH_DEV_CAPA_RXQ_SHARE capability.

       Definition at line 1714 of file rte_ethdev.h.

Name

       rte_eth_switch_info

Synopsis

       #include <rte_ethdev.h>

   DataFields
       const char * name
       uint16_t domain_id
       uint16_t port_id
       uint16_t rx_domain

See Also