On Fri, Nov 06, 2015 at 03:33:28PM +0000, Steven Hartland wrote: S> Author: smh S> Date: Fri Nov 6 15:33:27 2015 S> New Revision: 290450 S> URL: https://svnweb.freebsd.org/changeset/base/290450 S> S> Log: S> Add sysctl to control LACP strict compliance default S> S> Add net.link.lagg.lacp.default_strict_mode which defines S> the default value for LACP strict compliance for created S> lagg devices. S> S> Also: S> * Add lacp_strict option to ifconfig(8). S> * Fix lagg(4) creation examples. S> * Minor style(9) fix.
AFAIU, you are adding the sysctl to close a very short period of time between cloning a lagg(4) and configuring it. This is not a pretty solution to the problem. But the network stack has an API for supplying extra parameters at the cloning time. The lagg_clone_create() accepts the params, that can be supplied by ifconfig. If you put there the same arguments you supply with SIOCGLAGGOPTS, you can create and configure a lagg in one syscall. -- Totus tuus, Glebius. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "[email protected]"
