Date: Thu, 15 May 2003 09:57:55 -0700 (PDT) From: Thomas Moestl <tmm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h Message-ID: <200305151657.h4FGvtlw052997@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305151657.h4FGvtlw052997>
