Skip to content

Commit

Permalink
move new added attr to the end of enum
Browse files Browse the repository at this point in the history
Signed-off-by: Baorong Liu <[email protected]>
  • Loading branch information
baorliu committed Jan 14, 2025
1 parent fa63d6d commit 3838d9d
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions inc/saibfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -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
*/
Expand Down

0 comments on commit 3838d9d

Please sign in to comment.