svn commit: r253314 - head/sys/net
adrian at freebsd.org
Mon Jul 15 18:16:14 UTC 2013
Yup and they will be turned into per-interface ioctls before I merge it into -9.
On 15 July 2013 02:47, Gleb Smirnoff <glebius at freebsd.org> wrote:
> On Sat, Jul 13, 2013 at 04:25:03AM +0000, Adrian Chadd wrote:
> A> Author: adrian
> A> Date: Sat Jul 13 04:25:03 2013
> A> New Revision: 253314
> A> URL: http://svnweb.freebsd.org/changeset/base/253314
> A> Log:
> A> Bring over some link aggregation / LACP protocol improvements and debugging
> A> additions.
> A> * Add some new tracing events to aid in debugging.
> A> * Add in a debugging mode to drop transmit and received frames, specifically
> A> to test whether seeing or hearing heartbeats correctly cause LACP to
> A> drop the port.
> A> * Add in (and make default) a strict LACP mode, which requires the
> A> heartbeat on a port to be heard before it's used. Sometimes vendor ports
> A> will hang but the link layer stays up, resulting in hung traffic.
> A> * Add logging the number of link status flaps, again to aid in debugging
> A> badly behaving switch ports.
> A> * Calculate the lagg interface port speed as the multiple of the
> A> configured ports, rather than the largest.
> Having the txtest, rxtest and lacp_strict a global sysctls makes them
> useless on a box that has more than one aggregate interface. Turning
> test on will down all laggs on a box.
> IMO, these should be ioctls that can be configured per-interface via
> ifconfig, and in perfect case documented in ifconfig.8.
> Totus tuus, Glebius.
More information about the svn-src-head