From dfd7c561184832ba6293f58357b4c5f6c6927a53 Mon Sep 17 00:00:00 2001 From: JaiOCP Date: Wed, 6 May 2026 12:13:47 -0700 Subject: [PATCH 1/2] Link Down Debounce Signed-off-by: JaiOCP --- inc/saiport.h | 12 ++++++++++++ inc/saiswitch.h | 11 +++++++++++ 2 files changed, 23 insertions(+) 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..4ddbf7238 100644 --- a/inc/saiswitch.h +++ b/inc/saiswitch.h @@ -3598,6 +3598,17 @@ 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 End of attributes */ From 5ddee8641ec80cb507dbd2b6b27e4bd500f9c25b Mon Sep 17 00:00:00 2001 From: JaiOCP Date: Thu, 7 May 2026 07:51:12 -0700 Subject: [PATCH 2/2] Link Debounce Signed-off-by: JaiOCP --- inc/saiswitch.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/inc/saiswitch.h b/inc/saiswitch.h index 4ddbf7238..7506e61e7 100644 --- a/inc/saiswitch.h +++ b/inc/saiswitch.h @@ -3609,6 +3609,22 @@ typedef enum _sai_switch_attr_t */ 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 */