aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorGilad Sever <[email protected]>2023-06-21 13:42:08 +0300
committerDaniel Borkmann <[email protected]>2023-06-21 23:36:58 +0200
commit6e98730bc0b44acaf86eccc75f823128aa9c9e79 (patch)
tree9339f48273bd86ef00ecbccad96c87e66a78e081 /tools/perf/scripts/python/mem-phys-addr.py
parent970308a7b544fa1c7ee98a2721faba3765be8dd8 (diff)
bpf: Factor out socket lookup functions for the TC hookpoint.
Change BPF helper socket lookup functions to use TC specific variants: bpf_tc_sk_lookup_tcp() / bpf_tc_sk_lookup_udp() / bpf_tc_skc_lookup_tcp() instead of sharing implementation with the cg / sk_skb hooking points. This allows introducing a separate logic for the TC flow. The tc functions are identical to the original code. Signed-off-by: Gilad Sever <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Shmulik Ladkani <[email protected]> Reviewed-by: Eyal Birger <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions