Skip to content

Query: How can i load a custom XDP program using CNDP #338

Closed Answered by maryamtahhan
Lakshyagour asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Lakshyagour
I have a patch here that I intend to clean up and make a contribution to CNDP that you can try out: https://github.com/maryamtahhan/veth-benchmark/blob/main/containerization/0001-Load-custom-bpf-program.patch you can apply it on top of git commit: 53f60b1 and see if it helps out or to spot any issues with your own patch...
I have used it with this bpf filtering propgram https://github.com/maryamtahhan/veth-benchmark/tree/main/containerization/filter-udp-to-af_xdp

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Lakshyagour
Comment options

Answer selected by maryamtahhan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants