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)
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>

No differences found