Skip to content

Commit 2077bfe

Browse files
authored
Add SAI_ATTR_PORT_FW_REVISION to saiport (#2197)
This proposal outlines the addition of a new port attribute designed to provide a standardized method for querying the active firmware revision of a port. Proposal - Add label SAI_ATTR_PORT_FW_REVISION under sai_port_attr_h in saiport.h to store firmware related information. This attribute will store a string denoting the current firmware version running on the port. This can denote either the SerDes firmware version or any other vendor specific firmware version that needs to be exported. Signed-off-by: Tejas Pandey <[email protected]>
1 parent e866eb6 commit 2077bfe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

inc/saiport.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2721,6 +2721,16 @@ typedef enum _sai_port_attr_t
27212721
*/
27222722
SAI_PORT_ATTR_FAST_LINKUP_ENABLED,
27232723

2724+
/**
2725+
* @brief Get port SerDes firmware revision
2726+
*
2727+
* Standard attribute to collect port SerDes firmware rev.
2728+
*
2729+
* @type sai_s8_list_t
2730+
* @flags READ_ONLY
2731+
*/
2732+
SAI_PORT_ATTR_SERDES_FW_REVISION,
2733+
27242734
/**
27252735
* @brief End of attributes
27262736
*/

0 commit comments

Comments
 (0)