dev: Move received_rps counter next to RPS members in softnet data
authorToke Høiland-Jørgensen <toke@redhat.com>
Tue, 8 Nov 2022 14:05:59 +0000 (15:05 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 15 Nov 2022 17:00:27 +0000 (09:00 -0800)
commit14d898f3c1b3bf9c4375ee3255ec9e9b89a35578
tree9d326a7f8c25f9650baca7bca64523faf99d8c3c
parent26a9b433cf08adf2fdb50775128b283eb5201ab2
dev: Move received_rps counter next to RPS members in softnet data

Move the received_rps counter value next to the other RPS-related members
in softnet_data. This closes two four-byte holes in the structure, making
room for another pointer in the first two cache lines without bumping the
xmit struct to its own line.

Acked-by: Song Liu <song@kernel.org>
Reviewed-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20221108140601.149971-2-toke@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/netdevice.h