Skip to content

move AF_XDP APIs to libxdp

Hangbin Liu bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3samples/bpf/xdpsock_user.c: Get rid of bpf_prog_load_xattr()samples/bpf/xdpsock_user.c+11 -60 replies
2/3samples/bpf: move AF_XDP APIs to libxdpsamples/bpf/xdpsock_ctrl_proc.c samples/bpf/xdpsock_user.c samples/bpf/xsk_fwd.c+3 -120 replies
3/3selftests/bpf: move AF_XDP APIs to libxdptools/testing/selftests/bpf/xdpxceiver.c+1 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.35.1