Date: Thu, 16 Aug 2001 13:15:16 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_sf.c Message-ID: <200108162015.f7GKFHX58166@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2001/08/16 13:15:16 PDT
Modified files:
sys/pci if_sf.c
Log:
After one more day of testing, make what I hope are the final tweaks to
prevent/workaround TX lockups in this driver. The secret seems to be to
not let the TX DMA queue become too full. If we have too many packets
in the queue, we should wait for them to drain a bit before trying to
queue more. This should prevent the lockup from occurring, and if it
does occur, there is special code in sf_start() to kick the NIC in the
head and get it going again.
Special thanks to Glen Neff for helping me test this fix.
Revision Changes Path
1.39 +7 -5 src/sys/pci/if_sf.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108162015.f7GKFHX58166>
