cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c cxgb_sge.c

Kip Macy kmacy at FreeBSD.org
Tue Jul 10 06:01:46 UTC 2007


kmacy       2007-07-10 06:01:45 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/cxgb         cxgb_adapter.h cxgb_main.c cxgb_sge.c 
  Log:
  MFp4 122896
  - reduce cpu usage by as much as 25% (40% -> 30) by doing txq reclaim more efficiently
     - use mtx_trylock when trying to grab the lock to avoid spinning during long encap loop
     - add per-txq reclaim task
     - if mbufs were successfully re-claimed try another pass
  - track txq overruns with sysctl
  
  Approved by: re (blanket)
  
  Revision  Changes    Path
  1.13      +5 -1      src/sys/dev/cxgb/cxgb_adapter.h
  1.26      +6 -2      src/sys/dev/cxgb/cxgb_main.c
  1.22      +67 -39    src/sys/dev/cxgb/cxgb_sge.c


More information about the cvs-src mailing list