---
name: "rte_eth_switch_info"
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_switch_info"
---

# rte\_eth\_switch\_info(3)

## NAME

rte\_eth\_switch\_info

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

const char \* **name**\
 uint16\_t **domain\_id**\
 uint16\_t **port\_id**\
 uint16\_t **rx\_domain**\

## Detailed Description

Ethernet device associated switch information

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

## Field Documentation

### const char\* name

switch name

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

### uint16\_t domain\_id

switch domain ID

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

### uint16\_t port\_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\_t rx\_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**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
