From owner-cvs-all Thu Aug 16 13:15:28 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 34BC537B407; Thu, 16 Aug 2001 13:15:17 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7GKFHX58166; Thu, 16 Aug 2001 13:15:17 -0700 (PDT) (envelope-from wpaul) Message-Id: <200108162015.f7GKFHX58166@freefall.freebsd.org> From: Bill Paul Date: Thu, 16 Aug 2001 13:15:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_sf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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