net: add struct net_aligned_data
authorEric Dumazet <edumazet@google.com>
Mon, 30 Jun 2025 09:35:37 +0000 (09:35 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 2 Jul 2025 21:22:02 +0000 (14:22 -0700)
commit3715b5df09b92168a4492b48bb7ea70d89f9d8f3
tree3b03ae2ada9db1a77bfa689549453cdc1d882bef
parenta8065af3346ebd7c76ebc113451fb3ba94cf7769
net: add struct net_aligned_data

This structure will hold networking data that must
consume a full cache line to avoid accidental false sharing.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250630093540.3052835-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/aligned_data.h [new file with mode: 0644]
net/core/hotdata.c