Date: Thu, 6 May 1999 08:32:56 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_axreg.h if_mx.c if_mxreg.h if_pnreg.h if_tl.c if_vrreg.h if_wbreg.h Message-ID: <199905061532.IAA42990@freefall.freebsd.org>
index | next in thread | raw e-mail
wpaul 1999/05/06 08:32:55 PDT
Modified files:
sys/pci if_axreg.h if_mx.c if_mxreg.h if_pnreg.h
if_tl.c if_vrreg.h if_wbreg.h
Log:
Tweak the Macronix driver to hopefully make it more reliable:
- Change to the same transmit scheme as the PNIC driver.
- Dynamically set the cache alignment, and set burst size the same as
the PNIC driver in mx_init().
- Enable 'store and forward' mode by default. This is the slowest option
and it does reduce 100Mbps performance somewhat, but it's the most
reliable setting I can find. I'm more interested in having the driver
work reliably than trying to squeeze the best performance out of it.
The reason I'm doing this is that on *some* systems you may see a lot
of transmit underruns (which I can't explain: these are *fast* test
systems) and these errors seem to cause unusual and decidedly
non-tulip-like behavior. In normal 10Mbps mode, performance is fine
(you can easily saturate a 10Mbps link).
Also tweak some of the other drivers:
- Increase the size of the TX ring for the Winbond, ASIX, VIA Rhine
and PNIC drivers.
- Set a larger value for ifq_maxlen in the ThunderLAN driver. The setting
of TL_TX_LIST_CNT - 1 is too low (the ThunderLAN driver only allocates
20 transmit descriptors, and I don't want to fiddle with that now
because the ThunderLAN's descriptor structure is an oddball size
compared to the others).
Revision Changes Path
1.6 +2 -2 src/sys/pci/if_axreg.h
1.16 +43 -65 src/sys/pci/if_mx.c
1.5 +7 -6 src/sys/pci/if_mxreg.h
1.11 +2 -2 src/sys/pci/if_pnreg.h
1.30 +3 -3 src/sys/pci/if_tl.c
1.4 +2 -2 src/sys/pci/if_vrreg.h
1.3 +2 -2 src/sys/pci/if_wbreg.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905061532.IAA42990>
