]> www.infradead.org Git - users/dwmw2/linux.git/commit
ipv4: remove fib_info_devhash[]
authorEric Dumazet <edumazet@google.com>
Fri, 4 Oct 2024 13:47:20 +0000 (13:47 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 7 Oct 2024 23:46:27 +0000 (16:46 -0700)
commita3f5f4c2f9b6bc2aa6f5a3e8e23b7519e4f2e3e3
tree842fa88bee4968c7ef486f75373e9e5cea95c5e0
parent143ca845ec0c625c410768c36e1a949ef4ed1915
ipv4: remove fib_info_devhash[]

Upcoming per-netns RTNL conversion needs to get rid
of shared hash tables.

fib_info_devhash[] is one of them.

It is unclear why we used a hash table, because
a single hlist_head per net device was cheaper and scalable.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20241004134720.579244-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/net_cachelines/net_device.rst
include/linux/netdevice.h
net/ipv4/fib_semantics.c