Thread (12 messages) flat view 12 messages, 5 authors, 2022-06-09

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

From: Hangbin Liu <hidden>
Date: 2022-06-08 04:40:05
Also in: bpf

On Tue, Jun 07, 2022 at 04:28:36PM -0700, Andrii Nakryiko wrote:
quoted
Kartikeya started working on moving some of the XDP-related samples into
the xdp-tools repo[0]; maybe it's better to just include these AF_XDP
programs into that instead of adding a build-dep on libxdp to the kernel
samples?
Agree. Meanwhile it's probably better to make samples/bpf just compile
and use xsk.{c,h} from selftests/bpf.
Hi Andrii,

I didn't find xsk.{c,h} in selftests/bpf. Do you mean xsk.{c,h} in
tools/lib/bpf? Should I add

TPROGS_CFLAGS += -I$(srctree)/tools/lib/

in samples/bpf/Makefile?

Thanks
Hangbin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help