net: add low latency socket poll
authorEliezer Tamir <eliezer.tamir@linux.intel.com>
Mon, 10 Jun 2013 08:39:50 +0000 (11:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2013 04:22:35 +0000 (21:22 -0700)
commit060212928670593fb89243640bf05cf89560b023
tree32ae5c7be094983fb06430dbe09d36e2b317ca9c
parentaf12fa6e46aa651e7b86a4c4117b562518fef184
net: add low latency socket poll

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 <alexander.h.duyck@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Tested-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
Documentation/sysctl/net.txt
include/linux/netdevice.h
include/linux/skbuff.h
include/net/ll_poll.h [new file with mode: 0644]
include/net/sock.h
include/uapi/linux/snmp.h
net/Kconfig
net/core/skbuff.c
net/core/sock.c
net/core/sysctl_net_core.c
net/ipv4/proc.c
net/socket.c