diff options
| author | Lorenzo Bianconi <[email protected]> | 2024-06-29 22:26:49 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-07-01 15:03:01 +0000 |
| commit | 391bb6594fd3a567efb1cd3efc8136c78c4c9e31 (patch) | |
| tree | 39c9c0cacd23ea033ac3a003657abd91bc95d4c8 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | netfilter: nf_tables: Add flowtable map for xdp offload (diff) | |
| download | kernel-391bb6594fd3a567efb1cd3efc8136c78c4c9e31.tar.gz kernel-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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
Acked-by: Pablo Neira Ayuso <[email protected]>
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
