cvs commit: src/sys/dev/bce if_bce.c

Scott Long scottl at FreeBSD.org
Sat Oct 21 07:54:41 UTC 2006


scottl      2006-10-21 07:54:40 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bce          if_bce.c 
  Log:
  Be more like the BGE driver.  Ensure that at least 16 TX descriptors are
  kept unused in the ring.  This check should probably be moved up to
  bce_start_locked at some point, as it'll make the loop up there slightly
  more efficient, and will eliminate a costly set of busdma operations when
  the ring is full.  But this works for now.
  
  This makes all of my UDP torture tests work.  I'll cautiously say that
  it might even work for other users now.  Feedback is appreciated.
  
  Revision  Changes    Path
  1.17      +11 -8     src/sys/dev/bce/if_bce.c


More information about the cvs-src mailing list