[PATCH bpf-next 0/3] move AF_XDP APIs to libxdp

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

 



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




[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