question on contributing to the xdp project
Quoted 10 lines · Ba Que
Hello,
I am a computer science master student at the TU Berlin and currently writing my Master Thesis.
I have been working on theAF_XDPsocket for some time and would like to use theAF_XDPas 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:
Quoted 8 lines
- 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 independentAF_XDPsockets bind on multiple interfaces. I used it to test the possibility of usingAF_XDPfor 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_XDPsupport 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
Quoted 4 lines
Best
Que Le
Quoted 6 lines · Ba Que
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
Quoted 45 lines
Best
Que Le
________________________________
Von: Magnus Karlsson <[email protected]>
Gesendet: Dienstag, 9. Mai 2023 14:27:53
An: Le, Ba Que
Cc: [email protected]; [email protected]; [email protected]
Betreff: Re: question on contributing to the xdp projectQuoted 10 lines · Ba Que
Hello,
I am a computer science master student at the TU Berlin and currently writing my Master Thesis.
I have been working on theAF_XDPsocket for some time and would like to use theAF_XDPas 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:
Quoted 8 lines
- 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 independentAF_XDPsockets bind on multiple interfaces. I used it to test the possibility of usingAF_XDPfor 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_XDPsupport 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
Quoted 4 lines
Best
Que Le