summaryrefslogtreecommitdiff
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-10-03 14:32:52 +0300
committerDavid S. Miller <davem@davemloft.net>2015-10-03 14:32:52 +0300
commitc3fc7ac9a0b978ee8538058743d21feef25f7b33 (patch)
tree0caf05649d27830ba0f9548704abbb1ec4b5bb91 /include/net/switchdev.h
parentf6d3125fa3c2f55ddf7cf69365c41089de6cfae6 (diff)
parente994b2f0fb9229aeff5eea9541320bd7b2ca8714 (diff)
downloadlinux-c3fc7ac9a0b978ee8538058743d21feef25f7b33.tar.xz
Merge branch 'tcp-lockless-listener'
Eric Dumazet says: ==================== tcp/dccp: lockless listener TCP listener refactoring : this is becoming interesting ! This patch series takes the steps to use normal TCP/DCCP ehash table to store SYN_RECV requests, instead of the private per-listener hash table we had until now. SYNACK skb are now attached to their syn_recv request socket, so that we no longer heavily modify listener sk_wmem_alloc. listener lock is no longer held in fast path, including SYNCOOKIE mode. During my tests, my server was able to process 3,500,000 SYN packets per second on one listener and still had available cpu cycles. That is about 2 to 3 order of magnitude what we had with older kernels. This effort started two years ago and I am pleased to reach expectations. We'll probably extend SO_REUSEPORT to add proper cpu/numa affinities, so that heavy duty TCP servers can get proper siloing thanks to multi-queues NIC. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions