Skip to content

Commit 18136be

Browse files
Adding support to get a list of all reachable switch-id's from a fabric port
Signed-off-by: Harjot Singh <[email protected]>
1 parent 19b30c1 commit 18136be

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

doc/VoQ/SAI-Proposal-VoQ-Switch.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,22 @@ typedef enum _sai_port_stat_t
764764
} sai_port_stat_t;
765765
```
766766

767+
### 2.3.9 Fabric Port Reachability List
768+
769+
The port reachability list attribute returns a list, that has all the remote switch ID reachable through this fabric port. The reachability list attribute
770+
can be queried on each fabric port retrieved from the fabric port list switch attribute.
771+
772+
```c
773+
774+
/**
775+
* @brief Fabric port reachability for all remote reachable switches
776+
*
777+
* @type sai_u16_list_t
778+
* @flags READ_ONLY
779+
*/
780+
SAI_PORT_ATTR_FABRIC_REACHABILITY_LIST,
781+
```
782+
767783
## 2.4 Queue Attributes, Types, and APIs
768784

769785
## 2.4.1 New Queue Types

inc/saiport.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,6 +2520,14 @@ typedef enum _sai_port_attr_t
25202520
*/
25212521
SAI_PORT_ATTR_POE_PORT_ID,
25222522

2523+
/**
2524+
* @brief Fabric port reachability for all remote reachable switches
2525+
*
2526+
* @type sai_u16_list_t
2527+
* @flags READ_ONLY
2528+
*/
2529+
SAI_PORT_ATTR_FABRIC_REACHABILITY_LIST,
2530+
25232531
/**
25242532
* @brief End of attributes
25252533
*/

0 commit comments

Comments
 (0)