Re: [PATCH bpf-next] selftests, bpf: remove AF_XDP samples
Srivats P <[email protected]>
| Newsgroups | org.kernel.vger.xdp-newbies,org.kernel.vger.bpf,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CANzUK58FPeKa_b36=9Wnb2g7fVppmMGBnjORb-dkZUZk3mvp8A@mail.gmail.com> |
> I can push xsk_fwd to BPF-examples. Though I do think that xdpsock has > become way too big to serve as a sample. It slowly turned into a catch > all demonstrating every single feature of AF_XDP. We need a minimal > example and then likely other samples for other features that should > be demoed. So I suggest that xdpsock dies here and we start over with > something minimal and use xsk_fwd for the forwarding and mempool > example. As an AF_XDP user, I want to say that I often refer to xdpsock to understand how to use a feature - it is very useful especially when there's a lack of good AF_XDP documentation. Srivats