diff options
| author | Eliezer Tamir <[email protected]> | 2013-06-10 08:40:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-06-11 04:22:36 +0000 |
| commit | a5b50476f77a8fcc8055c955720d05a7c2d9c532 (patch) | |
| tree | 4b12eb7d102a3c0ce4799e00bc4a9c0b10026db7 /net/ipv6/tcp_ipv6.c | |
| parent | net: add low latency socket poll (diff) | |
| download | kernel-a5b50476f77a8fcc8055c955720d05a7c2d9c532.tar.gz kernel-a5b50476f77a8fcc8055c955720d05a7c2d9c532.zip | |
udp: add low latency socket poll support
Add upport for busy-polling on UDP sockets.
In __udp[46]_lib_rcv add a call to sk_mark_ll() to copy the napi_id
from the skb into the sk.
This is done at the earliest possible moment, right after we identify
which socket this skb is for.
In __skb_recv_datagram When there is no data and the user
tries to read we busy poll.
Signed-off-by: Alexander Duyck <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Signed-off-by: Eliezer Tamir <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Tested-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
