Skip to content

Commit

Permalink
duplicate attribute to tunnel object
Browse files Browse the repository at this point in the history
Signed-off-by: Marian Pritsak <marianp@mellanox.com>
  • Loading branch information
marian-pritsak committed Mar 18, 2021
1 parent 70b94ce commit faf8c58
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions inc/saitunnel.h
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,32 @@ typedef enum _sai_tunnel_attr_t
*/
SAI_TUNNEL_ATTR_VXLAN_UDP_SPORT,

/**
* @brief Tunnel UDP source port base for a calculated hash range
*
* Value of the fixed portion of the UDP source port's most significant bits
*
* @type sai_uint16_t
* @flags CREATE_AND_SET
* @isvlan false
* @default 0
* @validonly SAI_TUNNEL_ATTR_TYPE == SAI_TUNNEL_TYPE_VXLAN and SAI_TUNNEL_ATTR_VXLAN_UDP_SPORT_MODE == SAI_TUNNEL_VXLAN_UDP_SPORT_MODE_USER_DEFINED_HASH
*/
SAI_TUNNEL_ATTR_VXLAN_UDP_SPORT_BASE,

/**
* @brief Tunnel UDP source port hash bit length
*
* Number of least signigicant bits reserved for the calculated hash value
*
* @type sai_uint8_t
* @flags CREATE_AND_SET
* @isvlan false
* @default 0
* @validonly SAI_TUNNEL_ATTR_TYPE == SAI_TUNNEL_TYPE_VXLAN and SAI_TUNNEL_ATTR_VXLAN_UDP_SPORT_MODE == SAI_TUNNEL_VXLAN_UDP_SPORT_MODE_USER_DEFINED_HASH
*/
SAI_TUNNEL_ATTR_VXLAN_UDP_HASH_BIT_LENGTH,

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

0 comments on commit faf8c58

Please sign in to comment.