[PATCH bpf-next 0/6] Clean up leftover uses of deprecated APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.30.2




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux