diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2022-01-19 22:14:21 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-20 21:22:02 -0800 |
commit | 544356524dd6ff5b0bb9099861ab8493a4387def (patch) | |
tree | 2f8db0ee9bd828e3a93f10b21befea83b52ace63 /samples/bpf/xdpsock_ctrl_proc.c | |
parent | c86575eccab24d583db0169ded342eb215b781c9 (diff) | |
download | linux-stable-544356524dd6ff5b0bb9099861ab8493a4387def.tar.gz linux-stable-544356524dd6ff5b0bb9099861ab8493a4387def.tar.bz2 linux-stable-544356524dd6ff5b0bb9099861ab8493a4387def.zip |
selftests/bpf: switch to new libbpf XDP APIs
Switch to using new bpf_xdp_*() APIs across all selftests. Take
advantage of a more straightforward and user-friendly semantics of
old_prog_fd (0 means "don't care") in few places.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220120061422.2710637-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/xdpsock_ctrl_proc.c')
0 files changed, 0 insertions, 0 deletions