projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f036b97
)
Documentation: bonding: correct xmit hash steps
author
Jonathan Toppins
<jtoppins@redhat.com>
Wed, 30 Nov 2022 20:12:07 +0000
(15:12 -0500)
committer
David S. Miller
<davem@davemloft.net>
Fri, 2 Dec 2022 10:46:45 +0000
(10:46 +0000)
Correct xmit hash steps for layer3+4 as introduced by commit
49aefd131739
("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>
Documentation/networking/bonding.rst
patch
|
blob
|
history
diff --git
a/Documentation/networking/bonding.rst
b/Documentation/networking/bonding.rst
index da57aac73ffcfd2d867286fe8b4dc5fe7d0272da..adc4bf4f3c5017c4f78647e03ef61101e7f1a689 100644
(file)
--- a/
Documentation/networking/bonding.rst
+++ b/
Documentation/networking/bonding.rst
@@
-957,6
+957,7
@@
xmit_hash_policy
hash = hash XOR source IP XOR destination IP
hash = hash XOR (hash RSHIFT 16)
hash = hash XOR (hash RSHIFT 8)
+ hash = hash RSHIFT 1
And then hash is reduced modulo slave count.
If the protocol is IPv6 then the source and destination