]> 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)
commitbe768eb8d90682b75b1a8eefa8be2a05adecc593
treebea38507321d0f20caf41af8ce79e65ab513717d
parent8985a0631a9cf0d9a5942a82af9a238958ce1e9f
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