tcp: move tp->scaling_ratio to tcp_sock_read_txrx group
authorEric Dumazet <edumazet@google.com>
Thu, 8 Feb 2024 14:43:21 +0000 (14:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Feb 2024 09:51:26 +0000 (09:51 +0000)
commit119ff04864a24470b1e531bb53e5c141aa8fefb0
tree59c915e4d06a0c589e44363c9e27999f48d5a84a
parent78e563f2d6290b9f14e7a54522b66a4265d70328
tcp: move tp->scaling_ratio to tcp_sock_read_txrx group

tp->scaling_ratio is a read mostly field, used in rx and tx fast paths.

Fixes: d5fed5addb2b ("tcp: reorganize tcp_sock fast path variables")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Coco Li <lixiaoyan@google.com>
Cc: Wei Wang <weiwan@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/net_cachelines/tcp_sock.rst
include/linux/tcp.h
net/ipv4/tcp.c