Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ENI mac selection attributes and tunnel learning attributes in DASH. #2085

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions experimental/saiexperimentaldashdirectionlookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ typedef enum _sai_direction_lookup_entry_attr_t
*/
SAI_DIRECTION_LOOKUP_ENTRY_ATTR_ACTION = SAI_DIRECTION_LOOKUP_ENTRY_ATTR_START,

/**
* @brief Action parameter DASH ENI MAC override type
*
* @type sai_dash_eni_mac_override_type_t
* @flags CREATE_AND_SET
* @default SAI_DASH_ENI_MAC_OVERRIDE_TYPE_NONE
*/
SAI_DIRECTION_LOOKUP_ENTRY_ATTR_DASH_ENI_MAC_OVERRIDE_TYPE,

/**
* @brief End of attributes
*/
Expand Down
18 changes: 18 additions & 0 deletions experimental/saiexperimentaldasheni.h
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,24 @@ typedef enum _sai_eni_attr_t
*/
SAI_ENI_ATTR_IS_HA_FLOW_OWNER,

/**
* @brief Action parameter enable reverse tunnel learning
*
* @type bool
* @flags CREATE_AND_SET
* @default false
*/
SAI_ENI_ATTR_ENABLE_REVERSE_TUNNEL_LEARNING,

/**
* @brief Action parameter reverse tunnel sip
*
* @type sai_ip_address_t
* @flags CREATE_AND_SET
* @default 0.0.0.0
*/
SAI_ENI_ATTR_REVERSE_TUNNEL_SIP,

/**
* @brief End of attributes
*/
Expand Down
13 changes: 13 additions & 0 deletions experimental/saitypesextensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,5 +279,18 @@ typedef enum _sai_dash_flow_entry_bulk_get_session_filter_key_t

} sai_dash_flow_entry_bulk_get_session_filter_key_t;

/**
* @brief Defines a list of enums for dash_eni_mac_override_type
*/
typedef enum _sai_dash_eni_mac_override_type_t
{
SAI_DASH_ENI_MAC_OVERRIDE_TYPE_NONE,

SAI_DASH_ENI_MAC_OVERRIDE_TYPE_SRC_MAC,

SAI_DASH_ENI_MAC_OVERRIDE_TYPE_DST_MAC,

} sai_dash_eni_mac_override_type_t;

#endif /* __SAITYPESEXTENSIONS_H_ */

Loading