public inbox for linux-kernel@vger.kernel.org
 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; 11+ messages in thread
From: Eliezer Tamir @ 2013-06-14  1:56 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:
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] 11+ messages in thread
* [PATCH v5 net-next 0/4] net: low latency sockets follow ups
@ 2013-06-14 13:33 Eliezer Tamir
  2013-06-14 13:36 ` [PATCH v2 sockperf] sockperf: add SO_LL socketop support Eliezer Tamir
  0 siblings, 1 reply; 11+ 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] 11+ 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; 11+ messages in thread
From: Eliezer Tamir @ 2013-06-12 11:19 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, Eliezer Tamir

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.


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

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

Thread overview: 11+ 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
  -- strict thread matches above, loose matches on Subject: below --
2013-06-14 13:33 [PATCH v5 net-next 0/4] net: low latency sockets follow ups Eliezer Tamir
2013-06-14 13:36 ` [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