summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Toppins <jtoppins@redhat.com>2022-11-30 15:12:07 -0500
committerDavid S. Miller <davem@davemloft.net>2022-12-02 10:46:45 +0000
commit95cce3fae4d980af92bbccb56a6a64261a75be6d (patch)
tree05de0050a258967516cfb8ab859714a2995f2a89
parentf036b97da67f4551d703f189b9a90686cbaf0adb (diff)
Documentation: bonding: correct xmit hash steps
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>
-rw-r--r--Documentation/networking/bonding.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/networking/bonding.rst b/Documentation/networking/bonding.rst
index da57aac73ffc..adc4bf4f3c50 100644
--- 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