On Tue, 9 May 2023 at 15:07, Le, Ba Que <b.le@xxxxxxxxxxxx> wrote: > > Hi, > > The bpf-examples is actually my targeted repo instead of xdp-tutorial (more up-to-date and better maintained). > > Can you give me the tutorial for the process since I'm new to it? First and foremost: I can't 100% guarantee the accuracy of the content, especially the documentation and explanations included with the programs. I understand that time and interest will be the deciding factors here, but it would be very nice if a senior member could give advice/correction/support during development. Secondly, code quality. Should the code be pre-reviewed by a senior supervisor to avoid unnecessary reviews of clumsy code, or can I proceed with a normal pull request? Just send a pull request so we can review it. We are nice people so do not worry :-). Thanks: Magnus > > Best > > Que Le > > ________________________________ > Von: Magnus Karlsson <magnus.karlsson@xxxxxxxxx> > Gesendet: Dienstag, 9. Mai 2023 14:27:53 > An: Le, Ba Que > Cc: xdp-newbies@xxxxxxxxxxxxxxx; bjorn.topel@xxxxxxxxx; magnus.karlsson@xxxxxxxxx > Betreff: Re: question on contributing to the xdp project > > 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 > > > >