summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2025-02-28 07:23:20 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-04 02:04:09 +0300
commit84c75e94ecee7d783eb1d4282a66d6d26d848246 (patch)
treed84c6a2a8ede7e7e24c771794b3fc7fe7c225c99 /tools/perf/scripts/python/libxed.py
parentcfc47029fa124e5e04411fb1dbd3726db90fd346 (diff)
downloadlinux-84c75e94ecee7d783eb1d4282a66d6d26d848246.tar.xz
ipv4: fib: Make fib_info_hashfn() return struct hlist_head.
Every time fib_info_hashfn() returns a hash value, we fetch &fib_info_hash[hash]. Let's return the hlist_head pointer from fib_info_hashfn() and rename it to fib_info_hash_bucket() to match a similar function, fib_info_laddrhash_bucket(). Note that we need to move the fib_info_hash assignment earlier in fib_info_hash_move() to use fib_info_hash_bucket() in the for loop. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20250228042328.96624-5-kuniyu@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions