Re: [RFC PATCH 2/2] netpoll: Don't poll for received packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <ebiederm@xxxxxxxxxxxx>
> ---
>  net/core/netpoll.c |   28 +++++++++-------------------
>  1 files changed, 9 insertions(+), 19 deletions(-)

Acked-by: Eric Dumazet <edumazet@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Discussion]     [TCP Instrumentation]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux WPAN Networking]     [Linux Host AP]     [Linux WPAN Networking]     [Linux Bluetooth Networking]     [Linux ATH6KL Networking]     [Linux Networking Users]     [Linux Coverity]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux IDE]     [Linux RAID]     [Linux SCSI]