[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100112182447.GB3355@del.dom.local>
Date: Tue, 12 Jan 2010 19:24:47 +0100
From: Jarek Poplawski <jarkao2@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, mikem@...g3k.org,
flyboy@...il.com, rjw@...k.pl, netdev@...r.kernel.org,
mbreuer@...jas.com
Subject: Re: [PATCH] sky2: safer transmit ring cleaning
On Tue, Jan 12, 2010 at 10:13:06AM -0800, Stephen Hemminger wrote:
> On Tue, 12 Jan 2010 19:04:30 +0100
> Jarek Poplawski <jarkao2@...il.com> wrote:
>
> > On Tue, Jan 12, 2010 at 08:15:13AM -0800, Stephen Hemminger wrote:
> > > This code makes transmit path and transmit reset safer by:
> > > * adding memory barrier before checking available ring slots
> > > * reseting state of tx ring elements after free
> > > * seperate cleanup function from ring done function
> > > * removing mostly unused tx_next element
> >
> > Does this patch prevent re-enabling tx after netif_device_detach(),
> > e.g. when sky2_detach() and sky2_tx_done() run at the same time on
> > different cpus?
> >
>
> Yes.
> The napi is disabled during the detach so transmit completion can
> not be done during that period.
Could you point me where exactly the napi is disabled, probably I
missed this?
Jarek P.
--
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