]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
bonding: Make alb learning packet interval configurable
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 13 Sep 2013 15:05:33 +0000 (11:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Sep 2013 02:20:44 +0000 (22:20 -0400)
commit7eacd03810960823393521063734fc8188446bca
treebea38507321d0f20caf41af8ce79e65ab513717d
parentd2bb3905ab9bafebd0872ceef9466c32849429d7
bonding: Make alb learning packet interval configurable

running bonding in ALB mode requires that learning packets be sent periodically,
so that the switch knows where to send responding traffic.  However, depending
on switch configuration, there may not be any need to send traffic at the
default rate of 3 packets per second, which represents little more than wasted
data.  Allow the ALB learning packet interval to be made configurable via sysfs

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Acked-by: Veaceslav Falico <vfalico@redhat.com>
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/bonding.txt
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_alb.h
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h