Skip to content

Commit

Permalink
Add a new attribute SAI_BFD_SESSION_ATTR_NEXT_HOP_ID to saibfd.h
Browse files Browse the repository at this point in the history
Adding a new attribute SAI_BFD_SESSION_ATTR_NEXT_HOP_ID to saibfd.h to support forwarding single hop bfd packet to specific nexthop.

Signed-off-by: Baorong Liu <[email protected]>
  • Loading branch information
baorliu committed Dec 4, 2024
1 parent 97c8ed2 commit 5a8814a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions inc/saibfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,18 @@ typedef enum _sai_bfd_session_attr_t
*/
SAI_BFD_SESSION_ATTR_SELECTIVE_COUNTER_LIST,

/**
* @brief Next Hop ID for single hop BFD session
*
* @type sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_NEXT_HOP
* @allownull true
* @default SAI_NULL_OBJECT_ID
* @condition SAI_BFD_SESSION_ATTR_HW_LOOKUP_VALID == false
*/
SAI_BFD_SESSION_ATTR_NEXT_HOP_ID,

/**
* @brief End of attributes
*/
Expand Down

0 comments on commit 5a8814a

Please sign in to comment.