netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/3] move AF_XDP APIs to libxdp
@ 2022-06-07  8:40 Hangbin Liu
  2022-06-07  8:40 ` [PATCH bpf-next 1/3] samples/bpf/xdpsock_user.c: Get rid of bpf_prog_load_xattr() Hangbin Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Hangbin Liu @ 2022-06-07  8:40 UTC (permalink / raw)
  To: netdev
  Cc: Alexei Starovoitov, Daniel Borkmann, David S. Miller,
	Jakub Kicinski, Jesper Dangaard Brouer,
	Toke Høiland-Jørgensen, John Fastabend,
	Björn Töpel, Magnus Karlsson, Maciej Fijalkowski,
	Jonathan Lemon, Andrii Nakryiko, Martin KaFai Lau, Song Liu,
	Yonghong Song, KP Singh, bpf, Hangbin Liu

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-06-09 20:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07  8:40 [PATCH bpf-next 0/3] move AF_XDP APIs to libxdp Hangbin Liu
2022-06-07  8:40 ` [PATCH bpf-next 1/3] samples/bpf/xdpsock_user.c: Get rid of bpf_prog_load_xattr() Hangbin Liu
2022-06-07  8:40 ` [PATCH bpf-next 2/3] samples/bpf: move AF_XDP APIs to libxdp Hangbin Liu
2022-06-07  8:40 ` [PATCH bpf-next 3/3] selftests/bpf: " Hangbin Liu
2022-06-07  9:31 ` [PATCH bpf-next 0/3] " Toke Høiland-Jørgensen
2022-06-07 23:28   ` Andrii Nakryiko
2022-06-08  2:31     ` Hangbin Liu
2022-06-08  2:29   ` Hangbin Liu
2022-06-08 10:18     ` Magnus Karlsson
2022-06-09  1:26       ` Hangbin Liu
2022-06-09 20:29       ` Andrii Nakryiko
2022-06-09 20:52         ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).