linux/Documentation/networking/net_cachelines
Eric Dumazet c353c7b7ff net-device: move lstats in net_device_read_txrx
dev->lstats is notably used from loopback ndo_start_xmit()
and other virtual drivers.

Per cpu stats updates are dirtying per-cpu data,
but the pointer itself is read-only.

Fixes: 43a71cd66b ("net-device: reorganize net_device fast path variables")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Coco Li <lixiaoyan@google.com>
Cc: Simon Horman <horms@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-02-12 09:51:26 +00:00
..
index.rst
inet_connection_sock.rst
inet_sock.rst
net_device.rst net-device: move lstats in net_device_read_txrx 2024-02-12 09:51:26 +00:00
netns_ipv4_sysctl.rst
snmp.rst
tcp_sock.rst tcp: move tp->tcp_usec_ts to tcp_sock_read_txrx group 2024-02-12 09:51:26 +00:00