diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2024-06-30 00:26:49 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-07-01 17:03:01 +0200 |
commit | 391bb6594fd3a567efb1cd3efc8136c78c4c9e31 (patch) | |
tree | 39c9c0cacd23ea033ac3a003657abd91bc95d4c8 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
parent | 89cc8f1c5f22568142b7ad118c738204708e4207 (diff) | |
download | linux-391bb6594fd3a567efb1cd3efc8136c78c4c9e31.tar.gz linux-391bb6594fd3a567efb1cd3efc8136c78c4c9e31.tar.bz2 linux-391bb6594fd3a567efb1cd3efc8136c78c4c9e31.zip |
netfilter: Add bpf_xdp_flow_lookup kfunc
Introduce bpf_xdp_flow_lookup kfunc in order to perform the lookup
of a given flowtable entry based on a fib tuple of incoming traffic.
bpf_xdp_flow_lookup can be used as building block to offload in xdp
the processing of sw flowtable when hw flowtable is not available.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Link: https://lore.kernel.org/bpf/55d38a4e5856f6d1509d823ff4e98aaa6d356097.1719698275.git.lorenzo@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions