cvs commit: src/sys/pci if_ste.c
Ruslan Ermilov
ru at FreeBSD.org
Wed Mar 31 22:42:48 PST 2004
On Wed, Mar 31, 2004 at 01:47:16PM -0800, Nate Lawson wrote:
> On Wed, 31 Mar 2004, Ruslan Ermilov wrote:
> > Modified files:
> > sys/pci if_ste.c
> > Log:
> > 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.
>
> This pollutes the toplevel hw sysctl space. Please move it to
> hw.ste.rxsyncs or better, debug.*.
>
Seems I followed the bad practice from dc(4) and fxp(4). I will
move it to hw.ste, thanks.
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040401/cbb13bc8/attachment.bin
More information about the cvs-src
mailing list