libbpf APIs for AF_XDP are deprecated starting from v0.7. Let's move to libxdp. The first patch removed the usage of bpf_prog_load_xattr(). As we will remove the GCC diagnostic declaration in later patches. Hangbin Liu (3): samples/bpf/xdpsock_user.c: Get rid of bpf_prog_load_xattr() samples/bpf: move AF_XDP APIs to libxdp selftests/bpf: move AF_XDP APIs to libxdp samples/bpf/xdpsock_ctrl_proc.c | 5 +---- samples/bpf/xdpsock_user.c | 22 ++++++++++++---------- samples/bpf/xsk_fwd.c | 5 +---- tools/testing/selftests/bpf/xdpxceiver.c | 8 +------- 4 files changed, 15 insertions(+), 25 deletions(-) -- 2.35.1