Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hashing Enhancements for Efficient RoCE Traffic Distribution #2144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sathk-marvell
Copy link

This Feature adds New Hash fields to support hashing based on RDMA fields

Signed-off-by: Satheesh Kumar Karra <skarra@marvell.com>
@kcudnik
Copy link
Collaborator

kcudnik commented Feb 27, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

/** No field - for compatibility, must be last */
SAI_NATIVE_HASH_FIELD_NONE = 0x00000021,
SAI_NATIVE_HASH_FIELD_NONE = 0x00000023,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not backward compatible change and you are adding exception for that, please remove

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified this based on comment on Line No:178. This might change in future even with new hash-field additions.

Can we deprecate this enum definition and start adding new fields after this.? will add a comment saying not a valid field used only for backward compatibility

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bring it back to expected value and remove exception in ancestry, NONE is none, no mather what value it has binary

@@ -178,6 +178,7 @@ sub BuildCommitHistory
next if $enumName eq "SAI_OBJECT_TYPE_MAX";
next if $enumName eq "SAI_PORT_INTERFACE_TYPE_MAX";
next if $enumName eq "SAI_PORT_BREAKOUT_MODE_TYPE_MAX";
next if $enumName eq "SAI_NATIVE_HASH_FIELD_NONE";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding exception is not backward compatible, please revert

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants