diff options
author | ru <ru@FreeBSD.org> | 2004-03-31 21:10:01 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-03-31 21:10:01 +0000 |
commit | db8b2a901c7b7ab54804456a67f245f78d3a525d (patch) | |
tree | 042883642d009467fe70b15cc01a4697f927b11b /lib/libalias | |
parent | ec79f6e2f06427778bc8e6e17228adda2ae7ea3f (diff) | |
download | FreeBSD-src-db8b2a901c7b7ab54804456a67f245f78d3a525d.zip FreeBSD-src-db8b2a901c7b7ab54804456a67f245f78d3a525d.tar.gz |
Under a heavy RX load, at least with D-Link DFE-550TX adapters,
the driver's RX ring head may fall behind the chip, causing the
stuck traffic, disordered packets, etc. Work around this by
adopting the technique of resyncing RX head used in dc(4) and
xl(4) drivers, but do it in a slightly different place to reduce
the number of resyncs needed.
Also, set the NIC's RX polling period to a more meaningful value,
to stop overloading the PCI bus (this also reduces the number of
resyncs by a factor of 3 or more in a long run; the actual number
is very dependent on a nature of the traffic).
Maintain the statistics counter as the hw.ste_rxsyncs sysctl.
In cooperation with: Vsevolod Lobko
OK'ed by: ambrisko
MFC after: 5 days
Diffstat (limited to 'lib/libalias')
0 files changed, 0 insertions, 0 deletions