Date: Sun, 16 Mar 2008 19:25:30 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net ieee8023ad_lacp.c ieee8023ad_lacp.h if_lagg.c Message-ID: <200803161925.m2GJPUNP013565@repoman.freebsd.org>
index | next in thread | raw e-mail
thompsa 2008-03-16 19:25:30 UTC
FreeBSD src repository
Modified files:
sys/net ieee8023ad_lacp.c ieee8023ad_lacp.h
if_lagg.c
Log:
Switch the LACP state machine over to its own mutex to protect the internals,
this means that it no longer grabs the lagg rwlock. Use two port table arrays
which list the active ports for Tx and switch between them with an atomic op.
Now the lagg rwlock is only exclusively locked for management (ioctls) and
queuing of lacp control frames isnt needed.
Revision Changes Path
1.15 +103 -124 src/sys/net/ieee8023ad_lacp.c
1.10 +47 -3 src/sys/net/ieee8023ad_lacp.h
1.27 +6 -3 src/sys/net/if_lagg.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803161925.m2GJPUNP013565>
