diff --git a/inc/saiport.h b/inc/saiport.h index 2d85f3f64..3d9bffa9a 100644 --- a/inc/saiport.h +++ b/inc/saiport.h @@ -3267,6 +3267,18 @@ typedef enum _sai_port_attr_t */ SAI_PORT_ATTR_CBFC_CREDIT_POOL_LIST, + /** + * @brief Link down debounce time in microseconds + * + * 0 means no delay time so link down events are immediately delivered as usual + * This attribute overrides the switch level debounce configuration + * + * @type sai_uint32_t + * @flags CREATE_AND_SET + * @default 0 + */ + SAI_PORT_ATTR_LINK_DOWN_DEBOUNCE_TIMEOUT, + /** * @brief End of attributes */ diff --git a/inc/saiswitch.h b/inc/saiswitch.h index 64072c22c..7506e61e7 100644 --- a/inc/saiswitch.h +++ b/inc/saiswitch.h @@ -3598,6 +3598,33 @@ typedef enum _sai_switch_attr_t */ SAI_SWITCH_ATTR_PTP_SYNTONIZE_ADJUST, + /** + * @brief Link down debounce time in microseconds + * + * 0 means no delay time so link down events are immediately delivered as usual + * + * @type sai_uint32_t + * @flags CREATE_AND_SET + * @default 0 + */ + SAI_SWITCH_ATTR_LINK_DOWN_DEBOUNCE_TIMEOUT, + + /** + * @brief Link down debounce timeout values supported in microseconds + * + * @type sai_u32_list_t + * @flags READ_ONLY + */ + SAI_SWITCH_ATTR_LINK_DOWN_DEBOUNCE_TIMEOUT_INTEVALS, + + /** + * @brief Link up debounce timeout values supported in microseconds + * + * @type sai_u32_list_t + * @flags READ_ONLY + */ + SAI_SWITCH_ATTR_LINK_UP_DEBOUNCE_TIMEOUT_INTEVALS, + /** * @brief End of attributes */