Re: [RFC PATCH 2/2] netpoll: Don't poll for received packets
From: Eric Dumazet <hidden>
Date: 2014-03-11 12:44:26
From: Eric Dumazet <hidden>
Date: 2014-03-11 12:44:26
On Tue, 2014-03-11 at 01:45 -0700, Eric W. Biederman wrote:
When calling drivers napi poll function pass it a budget of 0, to request that no rx packets be processed, and warn if any rx packets are actually processed. Additionally remove the drop_mon tracepoint as nothing interesting should be happening in netpoll, and running an arbitrary tracepoint in irq context is probably a bad idea. Signed-off-by: "Eric W. Biederman" <redacted> --- net/core/netpoll.c | 28 +++++++++------------------- 1 files changed, 9 insertions(+), 19 deletions(-)
Acked-by: Eric Dumazet <edumazet@google.com>