cvs commit: src/sys/pci if_ste.c if_stereg.h
ru at FreeBSD.org
Tue Apr 6 00:58:59 PDT 2004
ru 2004/04/06 00:58:32 PDT
FreeBSD src repository
sys/pci if_ste.c if_stereg.h
- Improved the TX performance with polling(4) by only checking the
status registers for error conditions and updating statistics
when there are cycles left (inspired by the nge(4) driver).
- Removed the TX list counter and the producer/consumer gap; it's
enough to just ensure we don't reuse the last (free) descriptor,
as the chip may not have read its next pointer yet. If we reuse
it, the TX may stall under a heavy TX load with polling enabled.
- Dropped code to recharge the watchdog timer, it's pointless; the
watchdog routine will re-init the chip and both RX and TX lists.
Revision Changes Path
1.70 +11 -15 src/sys/pci/if_ste.c
1.15 +0 -1 src/sys/pci/if_stereg.h
More information about the cvs-src