Messages in this thread | | | Subject | Re: [PATCH v9 net-next 3/7] udp: add low latency socket poll support | From | Eric Dumazet <> | Date | Wed, 05 Jun 2013 06:25:15 -0700 |
| |
On Wed, 2013-06-05 at 13:34 +0300, Eliezer Tamir wrote: > 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 <alexander.h.duyck@intel.com> > Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> > Tested-by: Willem de Bruijn <willemb@google.com> > Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com> > ---
Acked-by: Eric Dumazet <edumazet@google.com>
| |