mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
Documentation: bonding: correct xmit hash steps
Correct xmit hash steps for layer3+4 as introduced by commit
49aefd1317
("bonding: do not discard lowest hash bit for non layer3+4
hashing").
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f036b97da6
commit
95cce3fae4
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue