netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 net-next 0/4] net: low latency sockets follow ups
@ 2013-06-14  1:56 Eliezer Tamir
  2013-06-14  1:56 ` [PATCH v4 net-next 1/4] net: change sysctl_net_ll_poll into an unsigned int Eliezer Tamir
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Eliezer Tamir @ 2013-06-14  1:56 UTC (permalink / raw)
  To: David Miller
  Cc: Willem de Bruijn, Or Kehati, Or Gerlitz, e1000-devel, netdev, HPA,
	Amir Vadai, linux-kernel, Alex Rosenbaum, Jesse Brandeburg,
	sockperf-dev, Avner Ben Hanoch, Andi Kleen, Eliezer Tamir,
	Ben Hutchings, Eric Dumazet, Eilon Greenstien

David,

Here are three clean up patches, plus one that adds a socket option for LLS.

Patch 1 converts sysctl_net_ll_poll into an unsigned int
Patch 2 converts low latency sockets to sched_clock.
Patch 3 removes the config menu for NET_LL_RX_POLL and defaults to y.
Patch 4 adds an SO_LL socket option to allow per-socket control of busy polling.

I will reply to this thread with a patch to sockperf that enables
the socket option. (unchanged from v2)

Again, thanks to everyone for their comments.

-Eliezer


Change log:
v4
- Fixed possible overflow, pointed out by Eric Dumazet.
  (reordered the patches)

v3
- Suggested by David Miller and Stephen Hemminger:
  added a patch to covert from get_cycles() to sched_clock(),
  remove dependency on X86_TSC.
- Suggested by Eric Dumazet:
  un-exported sysctl_net_ll_poll since for now it's not needed in modules.

v2
- added a patch to convert sysctl_net_ll_poll into an unsigned int.
- suggested by Eric Dimazet: treat sk_ll_usec as a u_int rather than a u_long.
- suggested by Ben Huchings: allow unprivileged user to decrease SO_LL value,
  correct return value when operation is not allowed.


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-06-14  6:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14  1:56 [PATCH v4 net-next 0/4] net: low latency sockets follow ups Eliezer Tamir
2013-06-14  1:56 ` [PATCH v4 net-next 1/4] net: change sysctl_net_ll_poll into an unsigned int Eliezer Tamir
2013-06-14  3:03   ` Eric Dumazet
2013-06-14  1:57 ` [PATCH v4 net-next 2/4] net: convert low latency sockets to sched_clock() Eliezer Tamir
2013-06-14  3:12   ` Eric Dumazet
2013-06-14  6:14     ` Eliezer Tamir
2013-06-14  1:57 ` [PATCH v4 net-next 3/4] net: remove NET_LL_RX_POLL config menue Eliezer Tamir
2013-06-14  1:57 ` [PATCH v4 net-next 4/4] net: add socket option for low latency polling Eliezer Tamir
2013-06-14  1:58 ` [PATCH v2 sockperf] sockperf: add SO_LL socketop support Eliezer Tamir

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).