On Wed, Nov 29, 2023 at 07:27:54AM +0000, Coco Li wrote:
Reorganize fast path variables on tx-txrx-rx order.
Fastpath cacheline ends after sysctl_tcp_rmem.
There are only read-only variables here. (write is on the control path
and not considered in this case)
Below data generated with pahole on x86 architecture.
Fast path variables span cache lines before change: 4
Fast path variables span cache lines after change: 2
Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Wei Wang <redacted>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Coco Li <redacted>
Reviewed-by: Shakeel Butt <redacted>