On Tue, 9 May 2023 at 12:58, Le, Ba Que <b.le@xxxxxxxxxxxx> wrote: > > Hello, > > > I am a computer science master student at the TU Berlin and currently writing my Master Thesis. > I have been working on the AF_XDP socket for some time and would like to use the AF_XDP as the basis for my master thesis topic, which is multipath tunneling with XDP socket (may be changed in the future, depends on my supervisors). > While I was prototyping the thesis, I found that some of my code can be very useful for new people who want to learn and use the xdp socket. > > The code pieces mentioned are about: > > - UDP packet sender and receiver. These are ready-to-use programs. (Possibly be useful for requests by https://github.com/xdp-project/xdp-tutorial/issues/307 and https://github.com/xdp-project/xdp-tutorial/issues/307) > - Multiple independent AF_XDP sockets bind on multiple interfaces. I used it to test the possibility of using AF_XDP for multiple path tunneling. This will demonstrate how to setup and configure multiple sockets without UMEM sharing, and reading and writing UDP packets on these sockets. > > I imagine these examples might fit the XDP project's long term TODO "Adding AF_XDP support to relevant userspace programs" (https://xdp-project.net/#Adding-AF_XDP-support-to-relevant-userspace-programs). > > These programs will be submitted with detailed instruction and explanation. > > Please let me know your thoughts about the proposal. Hi, If you have good examples to contribute, that would be great. Maybe they would be a good fit for the bpf-examples repo. https://github.com/xdp-project/bpf-examples /Magnus > Best > Que Le > >