Switchtec Userspace PROJECT_NUMBER = 4.2
Loading...
Searching...
No Matches
switchtec_fab_topo_info Struct Reference

Represents the topology info. More...

#include <fabric.h>

Collaboration diagram for switchtec_fab_topo_info:

Public Attributes

uint8_t sw_idx
 Switch index.
int num_stack_bif
 Number of port bifurcation fields.
uint32_t stack_bif [8]
 Port bifurcation.
uint8_t route_port [16]
 Route port.
uint64_t port_bitmap
 Enabled physical port bitmap.
struct switchtec_fab_port_info port_info_list [SWITCHTEC_MAX_PORTS]
 Port info list.

Detailed Description

Represents the topology info.

Definition at line 76 of file fabric.h.

Member Data Documentation

◆ port_info_list

struct switchtec_fab_port_info switchtec_fab_topo_info::port_info_list[SWITCHTEC_MAX_PORTS]

Port info list.

The total port count is determined by the enabled port number, which is reported in the port_bitmap. Only enabled physical port will be populated in the port_info_list[].

Definition at line 91 of file fabric.h.


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