DPDK  20.11.6
Data Fields
rte_eth_switch_info Struct Reference

#include <rte_ethdev.h>

Data Fields

const char * name
 
uint16_t domain_id
 
uint16_t port_id
 

Detailed Description

Ethernet device associated switch information

Definition at line 1467 of file rte_ethdev.h.

Field Documentation

◆ name

const char* name

switch name

Definition at line 1468 of file rte_ethdev.h.

◆ domain_id

uint16_t domain_id

switch domain id

Definition at line 1469 of file rte_ethdev.h.

◆ port_id

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 1470 of file rte_ethdev.h.


The documentation for this struct was generated from the following file: