summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-10-04 16:47:17 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-08 02:38:58 +0300
commit8a0f62fdeb9ea66ad3d0e959c7c4addbabeac1be (patch)
tree466eeba30795351716aef665cae9a4899fac8f50 /tools/perf/scripts/python/exported-sql-viewer.py
parent1405981bbba0796530311d07a67bf58228cc0fcc (diff)
downloadlinux-8a0f62fdeb9ea66ad3d0e959c7c4addbabeac1be.tar.xz
ipv4: remove fib_devindex_hashfn()
fib_devindex_hashfn() converts a 32bit ifindex value to a 8bit hash. It makes no sense doing this from fib_info_hashfn() and fib_find_info_nh(). It is better to keep as many bits as possible to let fib_info_hashfn_result() have better spread. Only fib_info_devhash_bucket() needs to make this operation, we can 'inline' trivial fib_devindex_hashfn() in it. 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-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions