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>
Showing
- Documentation/sysctl/net.txt 7 additions, 0 deletionsDocumentation/sysctl/net.txt
- include/linux/netdevice.h 3 additions, 0 deletionsinclude/linux/netdevice.h
- include/linux/skbuff.h 6 additions, 2 deletionsinclude/linux/skbuff.h
- include/net/ll_poll.h 148 additions, 0 deletionsinclude/net/ll_poll.h
- include/net/sock.h 4 additions, 0 deletionsinclude/net/sock.h
- include/uapi/linux/snmp.h 1 addition, 0 deletionsinclude/uapi/linux/snmp.h
- net/Kconfig 12 additions, 0 deletionsnet/Kconfig
- net/core/skbuff.c 4 additions, 0 deletionsnet/core/skbuff.c
- net/core/sock.c 6 additions, 0 deletionsnet/core/sock.c
- net/core/sysctl_net_core.c 10 additions, 0 deletionsnet/core/sysctl_net_core.c
- net/ipv4/proc.c 1 addition, 0 deletionsnet/ipv4/proc.c
- net/socket.c 6 additions, 0 deletionsnet/socket.c
Please register or sign in to comment