diff options
author | Daniel Xu <dxu@dxuuu.xyz> | 2023-12-14 15:56:25 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-14 19:12:16 -0800 |
commit | 7489723c2e26504573dbb49b66bbc59092840008 (patch) | |
tree | 1a7a5f68c9012ebec507b80fb9c48bc456f5bb2a /tools/lib/bpf/bpf_prog_linfo.c | |
parent | 0f5d5454c723d5c729d4676860a390c31c466f50 (diff) |
bpf: xdp: Register generic_kfunc_set with XDP programs
Registering generic_kfunc_set with XDP programs enables some of the
newer BPF features inside XDP -- namely tree based data structures and
BPF exceptions.
The current motivation for this commit is to enable assertions inside
XDP bpf progs. Assertions are a standard and useful tool to encode
intent.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/d07d4614b81ca6aada44fcb89bb6b618fb66e4ca.1702594357.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions