mbox series

[v2,net-next,00/10] tcp: receive path optimizations

Message ID 20211025164825.259415-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series tcp: receive path optimizations | expand

Message

Eric Dumazet Oct. 25, 2021, 4:48 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

This series aims to reduce cache line misses in RX path.

I am still working on better cache locality in tcp_sock but
this will wait few more weeks.

v2: Resent because v1 seems to have been lost.
    Added Soheil Acked-by, and added "net: annotate accesses to sk->sk_rx_queue_mapping"

Eric Dumazet (10):
  tcp: move inet->rx_dst_ifindex to sk->sk_rx_dst_ifindex
  ipv6: move inet6_sk(sk)->rx_dst_cookie to sk->sk_rx_dst_cookie
  net: avoid dirtying sk->sk_napi_id
  net: avoid dirtying sk->sk_rx_queue_mapping
  net: annotate accesses to sk->sk_rx_queue_mapping
  ipv6: annotate data races around np->min_hopcount
  ipv6: guard IPV6_MINHOPCOUNT with a static key
  ipv4: annotate data races arount inet->min_ttl
  ipv4: guard IP_MINTTL with a static key
  ipv6/tcp: small drop monitor changes

 include/linux/ipv6.h     |  1 -
 include/net/busy_poll.h  |  3 ++-
 include/net/inet_sock.h  |  3 +--
 include/net/ip.h         |  2 ++
 include/net/ipv6.h       |  1 +
 include/net/sock.h       | 21 ++++++++++++++-------
 net/ipv4/ip_sockglue.c   | 11 ++++++++++-
 net/ipv4/tcp_ipv4.c      | 25 ++++++++++++++++---------
 net/ipv6/ipv6_sockglue.c | 11 ++++++++++-
 net/ipv6/tcp_ipv6.c      | 35 +++++++++++++++++++++--------------
 net/ipv6/udp.c           |  4 ++--
 11 files changed, 79 insertions(+), 38 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 26, 2021, 2:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 25 Oct 2021 09:48:15 -0700 you wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> This series aims to reduce cache line misses in RX path.
> 
> I am still working on better cache locality in tcp_sock but
> this will wait few more weeks.
> 
> [...]

Here is the summary with links:
  - [v2,net-next,01/10] tcp: move inet->rx_dst_ifindex to sk->sk_rx_dst_ifindex
    https://git.kernel.org/netdev/net-next/c/0c0a5ef809f9
  - [v2,net-next,02/10] ipv6: move inet6_sk(sk)->rx_dst_cookie to sk->sk_rx_dst_cookie
    https://git.kernel.org/netdev/net-next/c/ef57c1610dd8
  - [v2,net-next,03/10] net: avoid dirtying sk->sk_napi_id
    https://git.kernel.org/netdev/net-next/c/2b13af8ade38
  - [v2,net-next,04/10] net: avoid dirtying sk->sk_rx_queue_mapping
    https://git.kernel.org/netdev/net-next/c/342159ee394d
  - [v2,net-next,05/10] net: annotate accesses to sk->sk_rx_queue_mapping
    https://git.kernel.org/netdev/net-next/c/09b898466792
  - [v2,net-next,06/10] ipv6: annotate data races around np->min_hopcount
    https://git.kernel.org/netdev/net-next/c/cc17c3c8e8b5
  - [v2,net-next,07/10] ipv6: guard IPV6_MINHOPCOUNT with a static key
    https://git.kernel.org/netdev/net-next/c/790eb67374d4
  - [v2,net-next,08/10] ipv4: annotate data races arount inet->min_ttl
    https://git.kernel.org/netdev/net-next/c/14834c4f4eb3
  - [v2,net-next,09/10] ipv4: guard IP_MINTTL with a static key
    https://git.kernel.org/netdev/net-next/c/020e71a3cf7f
  - [v2,net-next,10/10] ipv6/tcp: small drop monitor changes
    https://git.kernel.org/netdev/net-next/c/12c8691de307

You are awesome, thank you!