Clean up leftover uses of deprecated APIs
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libbpf: stop using deprecated bpf_map__is_offload_neutral()tools/ | +1 | 0 replies | Applied |
| 2/6 | bpftool: stop supporting BPF offload-enabled feature probingtools/ | +17 | 4 replies | Applied |
| 3/6 | bpftool: fix uninit variable compilation warningtools/ | +1 | 0 replies | Applied |
| 4/6 | selftests/bpf: remove usage of deprecated feature probing APIstools/ tools/ | +3 | 0 replies | Applied |
| 5/6 | selftests/bpf: redo the switch to new libbpf XDP APIstools/ tools/ tools/ +4 more | +47 | 0 replies | Applied |
| 6/6 | samples/bpf: get rid of bpf_prog_load_xattr() usesamples/ samples/ samples/ +3 more | +63 | 0 replies | Applied |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Quentin Monnet |
|---|---|
| Series | R-b |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/6] Clean up leftover uses of deprecated APIs
Clean up remaining missed uses of deprecated libbpf APIs across samples/bpf, selftests/bpf, libbpf, and bpftool.
Also fix uninit variable warning in bpftool.
Andrii Nakryiko (6):
libbpf: stop using deprecated bpf_map__is_offload_neutral()
bpftool: stop supporting BPF offload-enabled feature probing
bpftool: fix uninit variable compilation warning selftests/bpf: remove usage of deprecated feature probing APIs selftests/bpf: redo the switch to new libbpf XDP APIs samples/bpf: get rid of bpf_prog_load_xattr() use
samples/bpf/xdp1_user.c | 16 ++++++---- samples/bpf/xdp_adjust_tail_user.c | 17 +++++++---- samples/bpf/xdp_fwd_user.c | 15 ++++++---- samples/bpf/xdp_router_ipv4_user.c | 17 ++++++----- samples/bpf/xdp_rxq_info_user.c | 16 ++++++---- samples/bpf/xdp_tx_iptunnel_user.c | 17 ++++++----- tools/bpf/bpftool/common.c | 2 +- tools/bpf/bpftool/feature.c | 29 +++++++++++-------- tools/lib/bpf/libbpf.c | 2 +- .../selftests/bpf/prog_tests/xdp_attach.c | 29 +++++++++---------- .../bpf/prog_tests/xdp_cpumap_attach.c | 8 ++--- .../bpf/prog_tests/xdp_devmap_attach.c | 8 ++--- .../selftests/bpf/prog_tests/xdp_info.c | 14 ++++----- .../selftests/bpf/prog_tests/xdp_link.c | 26 ++++++++--------- tools/testing/selftests/bpf/test_maps.c | 2 +- tools/testing/selftests/bpf/test_verifier.c | 4 +-- .../selftests/bpf/xdp_redirect_multi.c | 8 ++--- tools/testing/selftests/bpf/xdping.c | 4 +-- 18 files changed, 132 insertions(+), 102 deletions(-)
Signature · 1 line
2.30.2