cvs commit: src/sys/net ieee8023ad_lacp.c ieee8023ad_lacp.h if_lagg.c

Andrew Thompson thompsa at FreeBSD.org
Sun Mar 16 12:25:31 PDT 2008


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


More information about the cvs-src mailing list