Commit 95cce3fa authored by Jonathan Toppins's avatar Jonathan Toppins Committed by David S. Miller

Documentation: bonding: correct xmit hash steps

Correct xmit hash steps for layer3+4 as introduced by commit
49aefd13 ("bonding: do not discard lowest hash bit for non layer3+4
hashing").
Signed-off-by: default avatarJonathan Toppins <jtoppins@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f036b97d
...@@ -957,6 +957,7 @@ xmit_hash_policy ...@@ -957,6 +957,7 @@ xmit_hash_policy
hash = hash XOR source IP XOR destination IP hash = hash XOR source IP XOR destination IP
hash = hash XOR (hash RSHIFT 16) hash = hash XOR (hash RSHIFT 16)
hash = hash XOR (hash RSHIFT 8) hash = hash XOR (hash RSHIFT 8)
hash = hash RSHIFT 1
And then hash is reduced modulo slave count. And then hash is reduced modulo slave count.
If the protocol is IPv6 then the source and destination If the protocol is IPv6 then the source and destination
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment