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

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:
v5 
- use time_after64() instead of time_after, suggested by Eric Dumazet.

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH v4 net-next 0/4] net: low latency sockets follow ups
@ 2013-06-14  1:56 Eliezer Tamir
  2013-06-14  1:58 ` [PATCH v2 sockperf] sockperf: add SO_LL socketop support Eliezer Tamir
  0 siblings, 1 reply; 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
* [PATCH v2 net-next 0/3] net: low latency sockets follow ups
@ 2013-06-12 11:19 Eliezer Tamir
  2013-06-12 11:22 ` [PATCH v2 sockperf] sockperf: add SO_LL socketop support Eliezer Tamir
  0 siblings, 1 reply; 9+ messages in thread
From: Eliezer Tamir @ 2013-06-12 11:19 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,
	Eliezer Tamir, Avner Ben Hanoch, Andi Kleen, Ben Hutchings,
	Eric Dumazet, Eilon Greenstien

David,

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

Patch 1 removes the config menu for NET_LL_RX_POLL and defaults to y.
Patch 2 converts sysctl_net_ll_poll into an unsigned int
Patch 3 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.

Thanks,
Eliezer


Change log:

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-17 22:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-14 13:33 [PATCH v5 net-next 0/4] net: low latency sockets follow ups Eliezer Tamir
2013-06-14 13:33 ` [PATCH v5 net-next 1/4] net: change sysctl_net_ll_poll into an unsigned int Eliezer Tamir
2013-06-14 13:33 ` [PATCH v5 net-next 2/4] net: convert low latency sockets to sched_clock() Eliezer Tamir
2013-06-14 13:33 ` [PATCH v5 net-next 3/4] net: remove NET_LL_RX_POLL config menue Eliezer Tamir
2013-06-14 13:33 ` [PATCH v5 net-next 4/4] net: add socket option for low latency polling Eliezer Tamir
2013-06-14 13:36 ` [PATCH v2 sockperf] sockperf: add SO_LL socketop support Eliezer Tamir
2013-06-17 22:48 ` [PATCH v5 net-next 0/4] net: low latency sockets follow ups David Miller
  -- strict thread matches above, loose matches on Subject: below --
2013-06-14  1:56 [PATCH v4 " Eliezer Tamir
2013-06-14  1:58 ` [PATCH v2 sockperf] sockperf: add SO_LL socketop support Eliezer Tamir
2013-06-12 11:19 [PATCH v2 net-next 0/3] net: low latency sockets follow ups Eliezer Tamir
2013-06-12 11:22 ` [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).