Re: [PATCH v5 net-next 2/5] net: implement support for low latency socket polling

2013-05-28 Thread Eliezer Tamir
On 28/05/2013 03:26, Eric Dumazet wrote: On Mon, 2013-05-27 at 10:44 +0300, Eliezer Tamir wrote: diff --git a/include/net/sock.h b/include/net/sock.h index 66772cf..c7c3ea6 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -281,6 +281,7 @@ struct cg_proto; * @sk_error_report: c

Re: [PATCH v5 net-next 2/5] net: implement support for low latency socket polling

2013-05-27 Thread Eric Dumazet
On Mon, 2013-05-27 at 10:44 +0300, Eliezer Tamir wrote: > diff --git a/include/net/sock.h b/include/net/sock.h > index 66772cf..c7c3ea6 100644 > --- a/include/net/sock.h > +++ b/include/net/sock.h > @@ -281,6 +281,7 @@ struct cg_proto; >* @sk_error_report: callback to indicate errors (e.g. %M

[PATCH v5 net-next 2/5] net: implement support for low latency socket polling

2013-05-27 Thread Eliezer Tamir
Adds a new ndo_ll_poll method and the code that supports and uses it. This method can be used by low latency applications to busy poll Ethernet device queues directly from the socket code. The value of sysctl_net_ll_poll controls how many microseconds to poll. Set to zero to disable. Signed-off-by