[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101018070114.GB2303@redhat.com>
Date: Mon, 18 Oct 2010 09:01:15 +0200
From: Stanislaw Gruszka <sgruszka@...hat.com>
To: Denis Kirjanov <kirjanov@...il.com>
Cc: Francois Romieu <romieu@...zoreil.com>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 1/6] r8169: check dma mapping failures
On Fri, Oct 15, 2010 at 06:23:55PM +0400, Denis Kirjanov wrote:
> Right, we should pass TX_BUSY to upper layers only when the device hw
> queue is full
>
> On Fri, Oct 15, 2010 at 5:41 PM, Francois Romieu <romieu@...zoreil.com> wrote:
> > Stanislaw Gruszka <sgruszka@...hat.com> :
> >> Check possible dma mapping errors and do clean up if it happens,
> >> when sending frames stop the tx queue.
> >
> > Almost ok: NETDEV_TX_BUSY can not be used like that. Afaik the DMA
> > failure path in the driver really wants a NETDEV_TX_OK (and a device
> > stats update, though missing in tg3 ?).
Ok, I will change that and repost on top of currently applied Eric's
patch.
Stanislaw
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists