diff options
author | Eric Dumazet <[email protected]> | 2024-10-04 13:47:17 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-07 16:38:58 -0700 |
commit | 8a0f62fdeb9ea66ad3d0e959c7c4addbabeac1be (patch) | |
tree | 466eeba30795351716aef665cae9a4899fac8f50 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1405981bbba0796530311d07a67bf58228cc0fcc (diff) |
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 <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions