Skip to content

Commit 5d32716

Browse files
committed
Add SAI_ATTR_PORT_FW_REVISION to saiport
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 b925fc0 commit 5d32716

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

inc/saiport.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2687,6 +2687,26 @@ typedef enum _sai_port_attr_t
26872687
*/
26882688
SAI_PORT_ATTR_PAM4_EYE_VALUES,
26892689

2690+
/**
2691+
* @brief Get port firmware revision
2692+
*
2693+
* Standard attribute to collect port SerDes fw rev or any other
2694+
* vendor specific firmware rev.
2695+
*
2696+
* @type sai_s8_list_t
2697+
* @flags READ_ONLY
2698+
*/
2699+
2700+
SAI_PORT_ATTR_FW_REVISION,
2701+
2702+
/**
2703+
* @brief The maximum size of SAI_PORT_ATTR_FW_REVISION in bytes.
2704+
*
2705+
* @type sai_uint32_t
2706+
* @flags READ_ONLY
2707+
*/
2708+
SAI_PORT_ATTR_FW_REVISION_SIZE,
2709+
26902710
/**
26912711
* @brief End of attributes
26922712
*/

0 commit comments

Comments
 (0)