From 3838d9db6b1fc4aca35ce19cfc031f7992b22b9d Mon Sep 17 00:00:00 2001 From: Baorong Liu <96146196+baorliu@users.noreply.github.com> Date: Tue, 14 Jan 2025 14:12:56 -0800 Subject: [PATCH] move new added attr to the end of enum Signed-off-by: Baorong Liu <96146196+baorliu@users.noreply.github.com> --- inc/saibfd.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/inc/saibfd.h b/inc/saibfd.h index 70ea7c488..4004df321 100644 --- a/inc/saibfd.h +++ b/inc/saibfd.h @@ -501,26 +501,6 @@ typedef enum _sai_bfd_session_attr_t */ SAI_BFD_SESSION_ATTR_SRV6_SIDLIST_ID, - /** - * @brief Use next hop - * - * @type bool - * @flags CREATE_ONLY - * @default false - */ - SAI_BFD_SESSION_ATTR_USE_NEXT_HOP, - - /** - * @brief Next Hop ID for single hop BFD session - * - * @type sai_object_id_t - * @flags MANDATORY_ON_CREATE | CREATE_AND_SET - * @objects SAI_OBJECT_TYPE_NEXT_HOP - * @allownull true - * @condition SAI_BFD_SESSION_ATTR_USE_NEXT_HOP == true - */ - SAI_BFD_SESSION_ATTR_NEXT_HOP_ID, - /** * @brief Set BFD session statistics counting mode * @@ -543,6 +523,26 @@ typedef enum _sai_bfd_session_attr_t */ SAI_BFD_SESSION_ATTR_SELECTIVE_COUNTER_LIST, + /** + * @brief Use next hop + * + * @type bool + * @flags CREATE_ONLY + * @default false + */ + SAI_BFD_SESSION_ATTR_USE_NEXT_HOP, + + /** + * @brief Next Hop ID for single hop BFD session + * + * @type sai_object_id_t + * @flags MANDATORY_ON_CREATE | CREATE_AND_SET + * @objects SAI_OBJECT_TYPE_NEXT_HOP + * @allownull true + * @condition SAI_BFD_SESSION_ATTR_USE_NEXT_HOP == true + */ + SAI_BFD_SESSION_ATTR_NEXT_HOP_ID, + /** * @brief End of attributes */