summaryrefslogtreecommitdiff
path: root/Documentation/networking/net_cachelines
diff options
context:
space:
mode:
authorGilad Naaman <gnaaman@drivenets.com>2024-11-07 16:04:43 +0000
committerJakub Kicinski <kuba@kernel.org>2024-11-09 13:22:57 -0800
commitf7f52738637f4361c108cad36e23ee98959a9006 (patch)
tree937f05d064e392b6dc14002925032cc28b9c35e8 /Documentation/networking/net_cachelines
parenta01a67ab2fffa7458354f0a666a6d550fa2b82fc (diff)
downloadlinux-f7f52738637f4361c108cad36e23ee98959a9006.tar.gz
linux-f7f52738637f4361c108cad36e23ee98959a9006.tar.bz2
linux-f7f52738637f4361c108cad36e23ee98959a9006.zip
neighbour: Create netdev->neighbour association
Create a mapping between a netdev and its neighoburs, allowing for much cheaper flushes. Signed-off-by: Gilad Naaman <gnaaman@drivenets.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://patch.msgid.link/20241107160444.2913124-7-gnaaman@drivenets.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking/net_cachelines')
-rw-r--r--Documentation/networking/net_cachelines/net_device.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/networking/net_cachelines/net_device.rst b/Documentation/networking/net_cachelines/net_device.rst
index ade50d4e67cf..15e31ece675f 100644
--- a/Documentation/networking/net_cachelines/net_device.rst
+++ b/Documentation/networking/net_cachelines/net_device.rst
@@ -188,4 +188,5 @@ u64 max_pacing_offload_horizon
struct_napi_config* napi_config
unsigned_long gro_flush_timeout
u32 napi_defer_hard_irqs
+struct hlist_head neighbours[2]
=================================== =========================== =================== =================== ===================================================================================