[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1395092410.9668.68.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Mon, 17 Mar 2014 14:40:10 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: ebiederm@...ssion.com, ben@...adent.org.uk, netdev@...r.kernel.org,
xiyou.wangcong@...il.com, mpm@...enic.com, satyam.sharma@...il.com,
amirv@...lanox.com, ogerlitz@...lanox.com, jackm@....mellanox.co.il
Subject: Re: mlx4 netpoll and rx/tx weirdness
On Mon, 2014-03-17 at 17:22 -0400, David Miller wrote:
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Sun, 16 Mar 2014 09:17:01 -0700
>
> > Wait a minute, I thought ndo_poll_controller() had to be synchronous,
> > not schedule a napi ?
>
> ndo_poll_controller() basically runs the hardware interrupt handler,
> which might schedule NAPI processing. Then netpoll invokes
> the NAPI poll in whatever state ndo_poll_controller() left it in.
Ah right, this makes sense, poll_napi() uses a spin_trylock()...
--
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