]> git.baikalelectronics.ru Git - 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)
commit7ac795d0f2f83c1556295aab8356f9fb83c182ec
treebea38507321d0f20caf41af8ce79e65ab513717d
parent2caab53a4aff854b6ee1da8dcb510a03b482b436
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