cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h

Thomas Moestl tmm at FreeBSD.org
Thu May 15 09:57:56 PDT 2003


tmm         2003/05/15 09:57:55 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/gem          if_gem.c if_gemvar.h 
  Log:
  Miscellaneous fixes:
  - Fix compilation without GEM_DEBUG.
  - Do not #define GEM_DEBUG by default; it adds overhead (due to bzero()ing
    RX space) and is not needed any more, since the driver is quite stable
    now.
  - Fix watchdog timeouts when failing to load TX packets.
  - Do not forcibly limit the number of descriptors used for a packet to
    GEM_NTXSEGS, by passing this number to bus_dma_tag_create(). There is
    no requirement for a limit any lower than the total number of
    available descriptors, and the present limit caused network problems
    due to mbuf chains requiring more descriptors.
    GEM_NTXSEGS is still used to estimate the interrupt window size, for
    which we just need an estimate.
  
  Approved by:    re (rwatson)
  
  Revision  Changes    Path
  1.16      +56 -5     src/sys/dev/gem/if_gem.c
  1.8       +3 -1      src/sys/dev/gem/if_gemvar.h


More information about the cvs-src mailing list