]> git.ipfire.org Git - thirdparty/linux.git/commit
neighbour: Create netdev->neighbour association
authorGilad Naaman <gnaaman@drivenets.com>
Thu, 7 Nov 2024 16:04:43 +0000 (16:04 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Nov 2024 21:22:57 +0000 (13:22 -0800)
commitf7f52738637f4361c108cad36e23ee98959a9006
tree937f05d064e392b6dc14002925032cc28b9c35e8
parenta01a67ab2fffa7458354f0a666a6d550fa2b82fc
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>
Documentation/networking/net_cachelines/net_device.rst
include/linux/netdevice.h
include/net/neighbour.h
include/net/neighbour_tables.h [new file with mode: 0644]
net/core/neighbour.c