aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnton Protopopov <[email protected]>2024-03-26 10:17:40 +0000
committerAlexei Starovoitov <[email protected]>2024-03-28 18:30:52 -0700
commit5311591fbb349fe9f5c555dcba3b13a5831aa72d (patch)
treea6cbe52ccc21dc1c9abb12eb64a9494e69ffcd0d /tools/perf/scripts/python
parentc602f4ca13a529b45692de4fdec96b4cdec866da (diff)
bpf: Add support for passing mark with bpf_fib_lookup
Extend the bpf_fib_lookup() helper by making it to utilize mark if the BPF_FIB_LOOKUP_MARK flag is set. In order to pass the mark the four bytes of struct bpf_fib_lookup are used, shared with the output-only smac/dmac fields. Signed-off-by: Anton Protopopov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: David Ahern <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions