Skip to content

tcp: move some fastpath fields to appropriate groups

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5tcp: move tp->delivered and tp->delivered_ce to tcp_sock_write_tx groupDocumentation/networking/net_cachelines/tcp_sock.rst include/linux/tcp.h net/ipv4/tcp.c+6 -60 repliesApplied
2/5tcp: move tp->segs_in and tp->segs_out to tcp_sock_write_txrx groupDocumentation/networking/net_cachelines/tcp_sock.rst include/linux/tcp.h net/ipv4/tcp.c+13 -130 repliesApplied
3/5tcp: move tp->first_tx_mstamp and tp->delivered_mstamp to tcp_sock_write_txinclude/linux/tcp.h net/ipv4/tcp.c+4 -40 repliesApplied
4/5tcp: move tp->bytes_acked to tcp_sock_write_tx groupDocumentation/networking/net_cachelines/tcp_sock.rst include/linux/tcp.h net/ipv4/tcp.c+6 -60 repliesApplied
5/5tcp: move max_packets_out, cwnd_usage_seq, rate_delivered and rate_interval_us to tcp_sock_write_tx groupinclude/linux/tcp.h net/ipv4/tcp.c+8 -80 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/5] tcp: move some fastpath fields to appropriate groups

Move following fields to better groups to increase data locality.

- delivered
- delivered_ce
- segs_in
- segs_out
- first_tx_mstamp
- delivered_mstamp
- max_packets_out
- cwnd_usage_seq
- rate_delivered
- rate_interval_us

No change in overall tcp_sock size.

Eric Dumazet (5):
tcp: move tp->delivered and tp->delivered_ce to tcp_sock_write_tx
group
tcp: move tp->segs_in and tp->segs_out to tcp_sock_write_txrx group
tcp: move tp->first_tx_mstamp and tp->delivered_mstamp to
tcp_sock_write_tx
tcp: move tp->bytes_acked to tcp_sock_write_tx group
tcp: move max_packets_out, cwnd_usage_seq, rate_delivered and
rate_interval_us to tcp_sock_write_tx group

 .../networking/net_cachelines/tcp_sock.rst    | 10 ++---
 include/linux/tcp.h                           | 40 +++++++++----------
 net/ipv4/tcp.c                                | 22 +++++-----
 3 files changed, 36 insertions(+), 36 deletions(-)
Signature · 1 line
2.54.0.545.g6539524ca2-goog