Subject: CVS commit: src/sys/dev/marvell
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 08/05/2003 14:55:07
Module Name:	src
Committed By:	scw
Date:		Tue Aug  5 14:55:07 UTC 2003

Modified Files:
	src/sys/dev/marvell: if_gfe.c

Log Message:
Try to drain the Tx pending queues after dealing with Rx/Tx interrupts.

This fixes a bug whereby a fast cpu with a decent cache can easily
outstrip the GT's ability to put packets on the wire, resulting in a
permanent backlog of mbufs in the Tx pending queues under heavy Tx load.

The bug was masked if the packet buffer was mapped non-cached, which
slowed down the cpu to where it couldn't keep up with the GT at 100mbit.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/dev/marvell/if_gfe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.