diff options
author | Eric Dumazet <edumazet@google.com> | 2024-10-04 15:47:20 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-08 01:46:27 +0200 |
commit | a3f5f4c2f9b6bc2aa6f5a3e8e23b7519e4f2e3e3 (patch) | |
tree | 842fa88bee4968c7ef486f75373e9e5cea95c5e0 /Documentation/networking | |
parent | ipv4: remove fib_info_lock (diff) | |
download | linux-a3f5f4c2f9b6bc2aa6f5a3e8e23b7519e4f2e3e3.tar.xz linux-a3f5f4c2f9b6bc2aa6f5a3e8e23b7519e4f2e3e3.zip |
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>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/net_cachelines/net_device.rst | 1 |
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 49f03cb78c6e..556711c4d3cf 100644 --- a/Documentation/networking/net_cachelines/net_device.rst +++ b/Documentation/networking/net_cachelines/net_device.rst @@ -83,6 +83,7 @@ unsigned_int allmulti bool uc_promisc unsigned_char nested_level struct_in_device* ip_ptr read_mostly read_mostly __in_dev_get +struct hlist_head fib_nh_head struct_inet6_dev* ip6_ptr read_mostly read_mostly __in6_dev_get struct_vlan_info* vlan_info struct_dsa_port* dsa_ptr |