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 switch attributes for hash offset configuration. #1195

Merged
merged 5 commits into from
Mar 18, 2021
Merged
Changes from 1 commit
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
18 changes: 18 additions & 0 deletions inc/saiswitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,15 @@ typedef enum _sai_switch_attr_t
*/
SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_SEED,

/**
* @brief SAI ECMP default hash offset
*
* @type sai_uint32_t
* @flags CREATE_AND_SET
* @default 0
*/
SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_OFFSET,
mikeberesford marked this conversation as resolved.
Show resolved Hide resolved

/**
* @brief SAI ECMP default symmetric hash
*
Expand Down Expand Up @@ -1231,6 +1240,15 @@ typedef enum _sai_switch_attr_t
*/
SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_SEED,

/**
* @brief SAI LAG default hash offset
*
* @type sai_uint32_t
* @flags CREATE_AND_SET
* @default 0
*/
SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_OFFSET,
mikeberesford marked this conversation as resolved.
Show resolved Hide resolved

/**
* @brief SAI LAG default symmetric hash
*
Expand Down