Date: Thu, 23 Mar 2006 15:40:32 -0300 From: JoaoBR <joao@matik.com.br> To: "Kevin Oberman" <oberman@es.net> Cc: freebsd-stable@freebsd.org Subject: Re: nve timeout (and down) regression? Message-ID: <200603231540.33339.joao@matik.com.br> In-Reply-To: <20060323182910.1190845041@ptavv.es.net> References: <20060323182910.1190845041@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 March 2006 15:29, Kevin Oberman wrote: > I am a bit confused. The first addition of sc->pending_txs =3D 0; was > MFC'ed back in December by obrien. > > Check around line 730 of if_nv.c (or whatever it's called in 6.0) > sc->linkup =3D 0; > sc->cur_rx =3D 0; > sc->pending_rxs =3D 0; > + sc->pending_txs =3D 0; > This should mostly eliminate the problem. > this part actually is in the driver but nve still doing timeout and stop=20 imediatly rx/tx > The other patch cited in the message has never been made: > diff -u -r1.7.2.4 if_nve.c > --- if_nve.c 9 Oct 2005 04:18:17 -0000 1.7.2.4 > +++ if_nve.c 27 Oct 2005 09:58:45 -0000 > @@ -727,7 +727,7 @@ > > DEBUGOUT(NVE_DEBUG_INIT, "nve: nve_init_rings - entry\n"); > > - sc->cur_rx =3D sc->cur_tx =3D sc->pending_rxs =3D sc->pending_txs= =3D 0; > + sc->cur_rx =3D sc->cur_tx =3D sc->pending_rxs =3D 0; and I did this part and my NIC is running, as I said still lot of collision= s=20 caused by it but it is running Jo=E3o > /* Initialise RX ring */ > for (i =3D 0; i < RX_RING_SIZE; i++) { > struct nve_rx_desc *desc =3D sc->rx_desc + i; > > > So sc->pending_txs should only be reset to zero only in nve_stop but not > in nve_init_rings? A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603231540.33339.joao>