[openib-general] [PATCH] ipoib: tx ring overrun

Michael S. Tsirkin mst at mellanox.co.il
Tue Jan 10 11:29:57 PST 2006


Quoting Grant Grundler <iod00d at hp.com>:
> On Tue, Jan 10, 2006 at 08:55:15PM +0200, Michael S. Tsirkin wrote:
> > Dont try to post more send work requests if the TX ring is full.
> > Setting netif_stop_queue is insufficient: linux can still land
> > a tx packet on us.

...


> > +	if (unlikely(priv->tx_head - priv->tx_tail == IPOIB_TX_RING_SIZE)) {
> > +		ipoib_dbg(priv, "TX ring full, dropping packet\n");
> > +		++priv->stats.tx_errors;
> 
> Could this be tx_dropped?

I dont know. Roland?

-- 
MST



More information about the general mailing list