netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] tcp listener refactoring part 15
@ 2015-03-22 17:22 Eric Dumazet
  2015-03-22 17:22 ` [PATCH net-next 1/8] inet: cache listen_sock_qlen() and read rskq_defer_accept once Eric Dumazet
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Eric Dumazet @ 2015-03-22 17:22 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Eric Dumazet, Eric Dumazet

I am trying to make the final patch pushing request socks into ehash
as small as possible. In this patch series, I made various adjustments
for the SYNACK generation, allowing me to reach 1 Mpps SYNACK in my
stress test (still hitting LISTENER spinlock of course, and the syn_wait
spinlock)

I also converted the ICMP handlers a bit ahead of time :

They no longer need to get the LISTENER socket, and can use
only a lookup in ehash table. No big deal if we ignore ICMP
for requests socks before the final steps.

Eric Dumazet (8):
  inet: cache listen_sock_qlen() and read rskq_defer_accept once
  inet: remove sk_listener parameter from syn_ack_timeout()
  inet: remove some sk_listener dependencies
  net: convert syn_wait_lock to a spinlock
  ipv4: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request sockets
  ipv6: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request sockets
  ipv4: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request sockets
  ipv6: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request sockets

 include/linux/dccp.h             |  4 +-
 include/net/request_sock.h       | 14 ++-----
 include/net/tcp.h                |  3 +-
 net/core/request_sock.c          | 14 +++----
 net/dccp/dccp.h                  |  1 +
 net/dccp/ipv4.c                  | 72 +++++++++++++++++------------------
 net/dccp/ipv6.c                  | 41 ++++----------------
 net/ipv4/inet_connection_sock.c  | 47 ++++++++++++-----------
 net/ipv4/inet_diag.c             |  4 +-
 net/ipv4/tcp_ipv4.c              | 81 ++++++++++++++++++++--------------------
 net/ipv4/tcp_timer.c             |  8 ++--
 net/ipv6/inet6_connection_sock.c |  4 +-
 net/ipv6/tcp_ipv6.c              | 47 ++++++-----------------
 13 files changed, 146 insertions(+), 194 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c

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

end of thread, other threads:[~2015-03-23 20:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-22 17:22 [PATCH net-next 0/8] tcp listener refactoring part 15 Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 1/8] inet: cache listen_sock_qlen() and read rskq_defer_accept once Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 2/8] inet: remove sk_listener parameter from syn_ack_timeout() Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 3/8] inet: remove some sk_listener dependencies Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 4/8] net: convert syn_wait_lock to a spinlock Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 5/8] ipv4: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request sockets Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 6/8] ipv6: " Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 7/8] ipv4: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV " Eric Dumazet
2015-03-22 17:22 ` [PATCH net-next 8/8] ipv6: " Eric Dumazet
2015-03-23 20:52 ` [PATCH net-next 0/8] tcp listener refactoring part 15 David Miller

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).