[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120913.173727.314155374058895289.davem@davemloft.net>
Date: Thu, 13 Sep 2012 17:37:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: peppe.cavallaro@...com, netdev@...r.kernel.org
Subject: Re: [net-next.git 3/8 (V2)] stmmac: add the initial tx coalesce
schema
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Thu, 13 Sep 2012 22:10:50 +0100
> On Thu, 2012-09-13 at 16:46 -0400, David Miller wrote:
>> From: Ben Hutchings <bhutchings@...arflare.com>
>> Date: Thu, 13 Sep 2012 21:42:51 +0100
>>
>> Well written NAPI drivers never need to disable hardware interrupts
>> in their ->poll() method and it's callers, neither should you.
>
> Perhaps you should get round to reviewing netpoll, because it does
> exactly this.
Then I don't understand the point you're trying to make.
Hardware interrupt disabling has absolutely no place in the
NAPI polling fast paths.
If NAPI drivers can't be implemented without hardware interrupt
toggling in ->poll(), we've failed.
--
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