diff options
| author | Anton Protopopov <aspsk@isovalent.com> | 2024-03-26 13:17:40 +0300 | 
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2024-03-29 04:30:52 +0300 | 
| commit | 5311591fbb349fe9f5c555dcba3b13a5831aa72d (patch) | |
| tree | a6cbe52ccc21dc1c9abb12eb64a9494e69ffcd0d /tools/perf/scripts/python/sched-migration.py | |
| parent | c602f4ca13a529b45692de4fdec96b4cdec866da (diff) | |
| download | linux-5311591fbb349fe9f5c555dcba3b13a5831aa72d.tar.xz | |
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 <aspsk@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: David Ahern <dsahern@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240326101742.17421-2-aspsk@isovalent.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
