Skip to content

[hash] add SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL to hash-field map for ECMP/LAG switch hash configuration#3481

Merged
prsunny merged 1 commit intosonic-net:masterfrom
ayurkiv-nvda:master_ipv6_flow_label_upstream
Feb 20, 2025
Merged

[hash] add SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL to hash-field map for ECMP/LAG switch hash configuration#3481
prsunny merged 1 commit intosonic-net:masterfrom
ayurkiv-nvda:master_ipv6_flow_label_upstream

Conversation

@ayurkiv-nvda
Copy link
Copy Markdown
Contributor

What I did
added SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL to the hash-field table
tests aligned

Why I did it
Need to support SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL parameters for hash calculation

How I verified it
Configure SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL via CLI, check /var/log/syslog

root@sonic:/home/admin# config switch-hash global ecmp-hash IPV6_FLOW_LABEL
root@sonic:/home/admin# config switch-hash global lag-hash IPV6_FLOW_LABEL

Details if related

@ayurkiv-nvda ayurkiv-nvda requested a review from prsunny as a code owner January 24, 2025 10:21
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@ayurkiv-nvda ayurkiv-nvda force-pushed the master_ipv6_flow_label_upstream branch from 6cda32d to 8e65894 Compare January 27, 2025 13:58
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@ayurkiv-nvda ayurkiv-nvda force-pushed the master_ipv6_flow_label_upstream branch from 8e65894 to 7cf687b Compare February 3, 2025 14:27
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

…r ECMP/LAG switch hash configuration

Signed-off-by: Andriy Yurkiv <ayurkiv@nvidia.com>
@ayurkiv-nvda ayurkiv-nvda force-pushed the master_ipv6_flow_label_upstream branch from 7cf687b to eba0cc9 Compare February 4, 2025 18:18
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@moshemos
Copy link
Copy Markdown

@prgeor can you review?

@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202412: Azure/sonic-swss.msft#40

@dgsudharsan
Copy link
Copy Markdown
Collaborator

@r12f This was reverted by you in 202412 branch. Can you please update labels so that it doesn't mislead stating the changes are included in 202412 branch?

qiluo-msft pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Mar 24, 2025
Related PRs:
sonic-net/sonic-utilities#3730
sonic-net/sonic-sairedis#1508
sonic-net/sonic-swss#3481

Why I did it
Need to add SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL for hash calculation. Need to align Yang model.

Work item tracking
Microsoft ADO (number only):
How I did it
Added IPV6_FLOW_LABEL to Generic Hash Yang model (both ecmp_hash and lag_hash). path: SWITCH_HASH/GLOBAL
Updated existing UT.
Updated Configuration.md

How to verify it
1)make configure PLATFORM=mellanox
2)make target/sonic-mellanox.bin
3)check model
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
…r ECMP/LAG switch hash configuration (sonic-net#3481)

* added SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL to the hash-field table

Why I did it
Need to support SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL parameters for hash calculation

How I verified it
Configure SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL via CLI, check /var/log/syslog
baorliu pushed a commit to baorliu/sonic-swss that referenced this pull request Feb 23, 2026
…r ECMP/LAG switch hash configuration (sonic-net#3481)

* added SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL to the hash-field table

Why I did it
Need to support SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL parameters for hash calculation

How I verified it
Configure SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL via CLI, check /var/log/syslog

Signed-off-by: Baorong Liu <96146196+baorliu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants