Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 17:58:57 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        Nate Lawson <nate@root.org>
Subject:   Re: cvs commit: src/sys/pci if_ste.c
Message-ID:  <20040401105857.GA72284@regency.nsu.ru>
In-Reply-To: <20040401064241.GA18644@ip.net.ua>
References:  <20040331211028.37B5016A4E2@hub.freebsd.org> <20040331134609.N90425@root.org> <20040401064241.GA18644@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 01, 2004 at 09:42:41AM +0300, Ruslan Ermilov wrote:
> 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.

Care to fix this "bad practice" in dc(4) and fxp(4) as well? :)  Or
should we wait for their maintainers, or possibly filling the PR ?

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040401105857.GA72284>