diff --git a/inc/saiswitch.h b/inc/saiswitch.h index 0a358d081..4bf7b592a 100644 --- a/inc/saiswitch.h +++ b/inc/saiswitch.h @@ -1166,6 +1166,18 @@ typedef enum _sai_switch_attr_t */ SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_SEED, + /** + * @brief SAI ECMP default hash offset + * + * When set, the output of the ECMP hash calculation will be rotated right + * by the specified number of bits. + * + * @type sai_uint8_t + * @flags CREATE_AND_SET + * @default 0 + */ + SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_OFFSET, + /** * @brief SAI ECMP default symmetric hash * @@ -1231,6 +1243,18 @@ typedef enum _sai_switch_attr_t */ SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_SEED, + /** + * @brief SAI LAG default hash offset + * + * When set, the output of the LAG hash calculation will be rotated right + * by the specified number of bits. + * + * @type sai_uint8_t + * @flags CREATE_AND_SET + * @default 0 + */ + SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_OFFSET, + /** * @brief SAI LAG default symmetric hash *