[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121125224335.GA16561@electric-eye.fr.zoreil.com>
Date: Sun, 25 Nov 2012 23:43:35 +0100
From: Francois Romieu <romieu@...zoreil.com>
To: David Woodhouse <dwmw2@...radead.org>
Cc: netdev@...r.kernel.org, jasowang@...hat.com, gilboad@...il.com,
jgarzik@...hat.com
Subject: Re: [PATCH] 8139cp: re-enable interrupts after tx timeout
David Woodhouse <dwmw2@...radead.org> :
> On Sat, 2012-11-24 at 23:58 +0100, Francois Romieu wrote:
> > While you are at it, do you see what would prevent the watchdog
> > timer and the rx napi handler to race on two different CPUs
>
> Hm, good point. Is it sufficient just to stick napi_disable() and
> napi_enable() in there?
No, napi_disable() may sleep.
> And should we try to reset the TX state machine without stomping on
> RX at all ?
Either that or the watchdog timer will have to queue some user context
work. Things may change later when you go lockless (hint, hint).
--
Ueimor
--
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