Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753271Ab3FJQhK (ORCPT ); Mon, 10 Jun 2013 12:37:10 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:61626 "EHLO mail-ie0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751987Ab3FJQhI (ORCPT ); Mon, 10 Jun 2013 12:37:08 -0400 MIME-Version: 1.0 In-Reply-To: <1370874576.3252.3.camel@edumazet-glaptop> References: <20130610083929.6955.87206.stgit@ladj378.jer.intel.com> <20130610083950.6955.9813.stgit@ladj378.jer.intel.com> <1370874576.3252.3.camel@edumazet-glaptop> From: Willem de Bruijn Date: Mon, 10 Jun 2013 12:36:37 -0400 Message-ID: Subject: Re: [PATCH v10 net-next 2/6] net: add low latency socket poll To: Eric Dumazet Cc: Eliezer Tamir , David Miller , linux-kernel , netdev@vger.kernel.org, Jesse Brandeburg , Don Skidmore , e1000-devel , Ben Hutchings , Andi Kleen , HPA , Eilon Greenstien , Or Gerlitz , Amir Vadai , Eliezer Tamir Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1857 Lines: 42 On Mon, Jun 10, 2013 at 10:29 AM, Eric Dumazet wrote: > On Mon, 2013-06-10 at 11:39 +0300, Eliezer Tamir wrote: >> Adds an ndo_ll_poll method and the code that supports it. >> This method can be used by low latency applications to busy-poll >> Ethernet device queues directly from the socket code. >> sysctl_net_ll_poll controls how many microseconds to poll. >> Default is zero (disabled). >> Individual protocol support will be added by subsequent patches. >> >> Signed-off-by: Alexander Duyck >> Signed-off-by: Jesse Brandeburg >> Signed-off-by: Eliezer Tamir >> --- >> >> Documentation/sysctl/net.txt | 7 ++ >> include/linux/netdevice.h | 3 + >> include/linux/skbuff.h | 8 ++ >> include/net/ll_poll.h | 148 ++++++++++++++++++++++++++++++++++++++++++ >> include/net/sock.h | 4 + >> include/uapi/linux/snmp.h | 1 >> net/Kconfig | 12 +++ >> net/core/skbuff.c | 4 + >> net/core/sock.c | 6 ++ >> net/core/sysctl_net_core.c | 10 +++ >> net/ipv4/proc.c | 1 >> net/socket.c | 6 ++ >> 12 files changed, 208 insertions(+), 2 deletions(-) >> create mode 100644 include/net/ll_poll.h > > Acked-by: Eric Dumazet > Tested-by: Willem de Bruijn Per Eliezer's request, I applied v10 to a small set of workloads (netperf tcp_rr, udp_rr, 100x tcp_rr, 100x udp_rr and a poll()-based tcp rr) for some functional testing. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/