summary refs log tree commit diff
path: root/net/sched
diff options
context:
space:
mode:
authorKosuke Tatsukawa <tatsu@ab.jp.nec.com>2017-07-20 05:20:40 +0000
committerDavid S. Miller <davem@davemloft.net>2017-07-20 15:34:40 -0700
commitcbf5ecb305601d063dc94a57680dfbc3f96c188d (patch)
tree9d1aff82ddb8f20d9220ce6796c5341d5494dcb8 /net/sched
parente623a48ee433985f6ca0fb238f0002cc2eccdf53 (diff)
downloadlinux-cbf5ecb305601d063dc94a57680dfbc3f96c188d.tar.gz
net: bonding: Fix transmit load balancing in balance-alb mode
balance-alb mode used to have transmit dynamic load balancing feature
enabled by default.  However, transmit dynamic load balancing no longer
works in balance-alb after commit 8b426dc54cf4 ("bonding: remove
hardcoded value").

Both balance-tlb and balance-alb use the function bond_do_alb_xmit() to
send packets.  This function uses the parameter tlb_dynamic_lb.
tlb_dynamic_lb used to have the default value of 1 for balance-alb, but
now the value is set to 0 except in balance-tlb.

Re-enable transmit dyanmic load balancing by initializing tlb_dynamic_lb
for balance-alb similar to balance-tlb.

Fixes: 8b426dc54cf4 ("bonding: remove hardcoded value")
Signed-off-by: Kosuke Tatsukawa <tatsu@ab.jp.nec.com>
Acked-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions