On 08/09, Jesper Dangaard Brouer wrote: > > On 09/08/2023 18.54, Stanislav Fomichev wrote: > > +Example > > +======= > > + > > +See ``tools/testing/selftests/bpf/xdp_hw_metadata.c`` for an example > > +program that handles TX metadata. Also see https://github.com/fomichev/xskgen > > +for a more bare-bones example. > > Will you consider maintaining this AF_XDP example here: > https://github.com/xdp-project/bpf-examples > > E..g. the kernels old samples/bpf/xdpsock program moved here: > https://github.com/xdp-project/bpf-examples/tree/master/AF_XDP-example Sure, I can put it wherever. Didn't want to put into the kernel tree.. > --Jesper > p.s. Compile fail for fomichev/xskgen on my system What is it complaining about? It's very ad-hoc, doesn't user proper libxsk and has super simple hard-coded make rules :-)