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

set hash algorithm #36

Merged
Changes from all commits
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
1 change: 1 addition & 0 deletions doc/sai-ptf/lag_test_plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ These cases will cover five scenarios: src/dst ip, src/dst port , protocol. cons
For load balancing, expecting the ports in a lag should receive the packet equally. Traffic direction: from server side to T1 side.

### Additional config: <!-- omit in toc -->
- Set hash alogrithm as SAI_HASH_ALGORITHM_CRC
- Set switch hash attribute as below, which mean switch computes hash value using the five fields of packet.
```
SAI_NATIVE_HASH_FIELD_SRC_IP
Expand Down