-
Notifications
You must be signed in to change notification settings - Fork 539
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
[hash]: Implement GH backend #2598
Conversation
b43a3be
to
083f416
Compare
818d875
to
8bf8a73
Compare
6a66934
to
15c71b0
Compare
@prsunny could you please have a look? |
@prsunny just a kind reminder |
3 similar comments
@prsunny just a kind reminder |
@prsunny just a kind reminder |
@prsunny just a kind reminder |
15c71b0
to
021cc2c
Compare
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
@prsunny so what's the plan here? Are we going to continue the review? |
Signed-off-by: Nazarii Hnydyn <[email protected]>
6849bce
to
fd7aeb5
Compare
Signed-off-by: Nazarii Hnydyn <[email protected]>
@prsunny review comments have been addressed. Please have a look. |
@prsunny just a kind reminder |
1 similar comment
@prsunny just a kind reminder |
* [hash]: Implement GH backend as per HLD: sonic-net/SONiC#1101
new feature, no backport |
|
||
sai_attribute_t attr; | ||
|
||
attr.id = SAI_HASH_ATTR_NATIVE_HASH_FIELD_LIST; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have plan to support SAI_SWITCH_ATTR_ECMP_HASH_IPV4
/SAI_SWITCH_ATTR_ECMP_HASH_IPV4_IN_IPV4
/SAI_SWITCH_ATTR_ECMP_HASH_IPV6
/SAI_SWITCH_ATTR_LAG_HASH_IPV4
/SAI_SWITCH_ATTR_LAG_HASH_IPV4_IN_IPV4
/SAI_SWITCH_ATTR_LAG_HASH_IPV6
besides the default hash field list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baxia-lan no. Implementation is according to the HLD. Also, this topic was discussed during Community design review and folks agreed that it requires some HLD/SAI extension in order to support hashing for different types of encapsulated frames per ASIC vendor. In any case, currently no plans to work on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the heads up. Could you please provide the pointer of the HLD discussion recording for these concerns? Also if possible, could you please help me to clarify the SAI extension needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baxia-lan regarding the recording, please speak to @zhangyanzhao
…13316) What is the motivation for this PR? These errors are found for config reload on 202311 branch on broadcom platform and safe to ignore. These are from the change sonic-net/sonic-swss#2598. r, ".* ERR swss#orchagent: :- queryHashNativeHashFieldListEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- queryHashNativeHashFieldListAttrCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchEcmpHashAlgorithmEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchLagHashAlgorithmEnumCapabilities: Failed to get attribute.*" r, ".* ERR syncd\d*#syncd.SAI_API_PORT:_brcm_sai_read_fec_stat_err_counters. failed with error Feature unavailable.*" How did you do it?
…onic-net#13316) What is the motivation for this PR? These errors are found for config reload on 202311 branch on broadcom platform and safe to ignore. These are from the change sonic-net/sonic-swss#2598. r, ".* ERR swss#orchagent: :- queryHashNativeHashFieldListEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- queryHashNativeHashFieldListAttrCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchEcmpHashAlgorithmEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchLagHashAlgorithmEnumCapabilities: Failed to get attribute.*" r, ".* ERR syncd\d*#syncd.SAI_API_PORT:_brcm_sai_read_fec_stat_err_counters. failed with error Feature unavailable.*" How did you do it?
…13316) What is the motivation for this PR? These errors are found for config reload on 202311 branch on broadcom platform and safe to ignore. These are from the change sonic-net/sonic-swss#2598. r, ".* ERR swss#orchagent: :- queryHashNativeHashFieldListEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- queryHashNativeHashFieldListAttrCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchEcmpHashAlgorithmEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchLagHashAlgorithmEnumCapabilities: Failed to get attribute.*" r, ".* ERR syncd\d*#syncd.SAI_API_PORT:_brcm_sai_read_fec_stat_err_counters. failed with error Feature unavailable.*" How did you do it?
…onic-net#13316) What is the motivation for this PR? These errors are found for config reload on 202311 branch on broadcom platform and safe to ignore. These are from the change sonic-net/sonic-swss#2598. r, ".* ERR swss#orchagent: :- queryHashNativeHashFieldListEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- queryHashNativeHashFieldListAttrCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchEcmpHashAlgorithmEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchLagHashAlgorithmEnumCapabilities: Failed to get attribute.*" r, ".* ERR syncd\d*#syncd.SAI_API_PORT:_brcm_sai_read_fec_stat_err_counters. failed with error Feature unavailable.*" How did you do it?
…13316) What is the motivation for this PR? These errors are found for config reload on 202311 branch on broadcom platform and safe to ignore. These are from the change sonic-net/sonic-swss#2598. r, ".* ERR swss#orchagent: :- queryHashNativeHashFieldListEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- queryHashNativeHashFieldListAttrCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchEcmpHashAlgorithmEnumCapabilities: Failed to get attribute." r, ". ERR swss#orchagent: :- querySwitchLagHashAlgorithmEnumCapabilities: Failed to get attribute.*" r, ".* ERR syncd\d*#syncd.SAI_API_PORT:_brcm_sai_read_fec_stat_err_counters. failed with error Feature unavailable.*" How did you do it?
Signed-off-by: Nazarii Hnydyn [email protected]
DEPENDS:
HLD: sonic-net/SONiC#1101
What I did
Why I did it
How I verified it
Details if related