ipv6: add ipv6_devconf_read_txrx cacheline_group
authorEric Dumazet <edumazet@google.com>
Wed, 28 Feb 2024 13:54:25 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 08:42:30 +0000 (08:42 +0000)
commit096361b15577a583afcc28179a08c75cf95e9dae
treef777638b7e33b258e8dc1ff95a8ef265f802a3a5
parent65f5dd4f02a89df429b8212b4c2f3ada6c4f3fc1
ipv6: add ipv6_devconf_read_txrx cacheline_group

IPv6 TX and RX fast path use the following fields:

- disable_ipv6
- hop_limit
- mtu6
- forwarding
- disable_policy
- proxy_ndp

Place them in a group to increase data locality.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h