Skip to content

Commit

Permalink
[dash] Change the type of action parameter in DASH Flow API (#2101)
Browse files Browse the repository at this point in the history
This PR modifies the type for the following action parameters in DASH Flow APIs from sai_uint32_t to sai_ip_address_t to be consistent with other APIs, e.g. DASH ENI, and to improve readability of the code.

SAI_FLOW_ENTRY_ATTR_UNDERLAY0_SIP
SAI_FLOW_ENTRY_ATTR_UNDERLAY0_DIP
SAI_FLOW_ENTRY_ATTR_UNDERLAY1_SIP
SAI_FLOW_ENTRY_ATTR_UNDERLAY1_SIP
  • Loading branch information
ShaofengWu123 authored Nov 21, 2024
1 parent 0540855 commit 13e1953
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions experimental/saiexperimentaldashflow.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,18 +285,18 @@ typedef enum _sai_flow_entry_attr_t
/**
* @brief Action parameter underlay0 sip
*
* @type sai_uint32_t
* @type sai_ip_address_t
* @flags CREATE_AND_SET
* @default 0
* @default 0.0.0.0
*/
SAI_FLOW_ENTRY_ATTR_UNDERLAY0_SIP,

/**
* @brief Action parameter underlay0 dip
*
* @type sai_uint32_t
* @type sai_ip_address_t
* @flags CREATE_AND_SET
* @default 0
* @default 0.0.0.0
*/
SAI_FLOW_ENTRY_ATTR_UNDERLAY0_DIP,

Expand All @@ -321,18 +321,18 @@ typedef enum _sai_flow_entry_attr_t
/**
* @brief Action parameter underlay1 sip
*
* @type sai_uint32_t
* @type sai_ip_address_t
* @flags CREATE_AND_SET
* @default 0
* @default 0.0.0.0
*/
SAI_FLOW_ENTRY_ATTR_UNDERLAY1_SIP,

/**
* @brief Action parameter underlay1 dip
*
* @type sai_uint32_t
* @type sai_ip_address_t
* @flags CREATE_AND_SET
* @default 0
* @default 0.0.0.0
*/
SAI_FLOW_ENTRY_ATTR_UNDERLAY1_DIP,

Expand Down

0 comments on commit 13e1953

Please sign in to comment.