aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/bonding.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/networking/bonding.txt')
-rw-r--r--Documentation/networking/bonding.txt44
1 files changed, 36 insertions, 8 deletions
diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt
index a383c00392d0..9c723ecd0025 100644
--- a/Documentation/networking/bonding.txt
+++ b/Documentation/networking/bonding.txt
@@ -585,13 +585,19 @@ mode
585 balance-tlb or 5 585 balance-tlb or 5
586 586
587 Adaptive transmit load balancing: channel bonding that 587 Adaptive transmit load balancing: channel bonding that
588 does not require any special switch support. The 588 does not require any special switch support.
589 outgoing traffic is distributed according to the 589
590 current load (computed relative to the speed) on each 590 In tlb_dynamic_lb=1 mode; the outgoing traffic is
591 slave. Incoming traffic is received by the current 591 distributed according to the current load (computed
592 slave. If the receiving slave fails, another slave 592 relative to the speed) on each slave.
593 takes over the MAC address of the failed receiving 593
594 slave. 594 In tlb_dynamic_lb=0 mode; the load balancing based on
595 current load is disabled and the load is distributed
596 only using the hash distribution.
597
598 Incoming traffic is received by the current slave.
599 If the receiving slave fails, another slave takes over
600 the MAC address of the failed receiving slave.
595 601
596 Prerequisite: 602 Prerequisite:
597 603
@@ -736,6 +742,28 @@ primary_reselect
736 742
737 This option was added for bonding version 3.6.0. 743 This option was added for bonding version 3.6.0.
738 744
745tlb_dynamic_lb
746
747 Specifies if dynamic shuffling of flows is enabled in tlb
748 mode. The value has no effect on any other modes.
749
750 The default behavior of tlb mode is to shuffle active flows across
751 slaves based on the load in that interval. This gives nice lb
752 characteristics but can cause packet reordering. If re-ordering is
753 a concern use this variable to disable flow shuffling and rely on
754 load balancing provided solely by the hash distribution.
755 xmit-hash-policy can be used to select the appropriate hashing for
756 the setup.
757
758 The sysfs entry can be used to change the setting per bond device
759 and the initial value is derived from the module parameter. The
760 sysfs entry is allowed to be changed only if the bond device is
761 down.
762
763 The default value is "1" that enables flow shuffling while value "0"
764 disables it. This option was added in bonding driver 3.7.1
765
766
739updelay 767updelay
740 768
741 Specifies the time, in milliseconds, to wait before enabling a 769 Specifies the time, in milliseconds, to wait before enabling a
@@ -769,7 +797,7 @@ use_carrier
769xmit_hash_policy 797xmit_hash_policy
770 798
771 Selects the transmit hash policy to use for slave selection in 799 Selects the transmit hash policy to use for slave selection in
772 balance-xor and 802.3ad modes. Possible values are: 800 balance-xor, 802.3ad, and tlb modes. Possible values are:
773 801
774 layer2 802 layer2
775 803