linux/drivers/net/bonding
Mahesh Bandewar 6b794c1cd8 bonding: Do not try to send packets over dead link in TLB mode.
In TLB mode if tlb_dynamic_lb is NOT set, slaves from the bond
group are selected based on the hash distribution. This does not
exclude dead links which are part of the bond. Also if there is a
temporary link event which brings down the interface, packets
hashed on that interface would be dropped too.

This patch fixes these issues and distributes flows across the
UP links only. Also the array construction of links which are
capable of sending packets happen in the control path leaving
only link-selection during the data-path.

One possible side effect of this is - at a link event; all
flows will be shuffled to get good distribution. But impact of
this should be minimum with the assumption that a member or
members of the bond group are not available is a very temporary
situation.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-16 23:35:35 -07:00
..
bond_3ad.c bonding: remove pr_fmt from bond_3ad.c 2014-07-15 23:15:58 -07:00
bond_3ad.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-02-19 01:24:22 -05:00
bond_alb.c bonding: Do not try to send packets over dead link in TLB mode. 2014-07-16 23:35:35 -07:00
bond_alb.h bonding: Do not try to send packets over dead link in TLB mode. 2014-07-16 23:35:35 -07:00
bond_debugfs.c bonding: convert bond_debugfs.c to use netdev_printk instead of pr_ 2014-07-15 23:15:58 -07:00
bond_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-07-16 14:09:34 -07:00
bond_netlink.c bonding: bonding: remove pr_fmt from bond_netlink.c 2014-07-15 23:15:59 -07:00
bond_options.c bonding: remove pr_fmt from bond_options.c 2014-07-15 23:16:06 -07:00
bond_options.h bonding: make a generic sysfs option store and fix comments 2014-05-09 16:12:51 -04:00
bond_procfs.c bonding: convert bond_procfs.c to use netdev_printk instead of pr_ 2014-07-15 23:15:59 -07:00
bond_sysfs_slave.c bonding: create a macro for bond mode and use it 2014-05-16 16:34:32 -04:00
bond_sysfs.c bonding: use rcu_access_pointer() in bonding_show_mii_status() 2014-07-15 17:49:41 -07:00
bonding.h bonding: Do not try to send packets over dead link in TLB mode. 2014-07-16 23:35:35 -07:00
Makefile bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00