Re: Running Prototype-kernel package
On Thu, 1 Jun 2017 17:45:03 +0300 Adel Fuchs <adelfuchs@...> wrote:
Thank you so much for your help. I need to run an eBPF programs thatThe prototype-kernel github repo[1] is actually originally meant for developing real kernel module. I guess, I should/could have placed the eBPF/XDP examples[3] in another github repo. [1] https://github.com/netoptimizer/prototype-kernel [2] http://netoptimizer.blogspot.dk/2014/11/announce-github-repo-prototype-kernel.html [3] https://github.com/netoptimizer/prototype-kernel/tree/master/kernel/samples/bpf I went over the "getting started" tutorial, but I couldn'f find aDon't do this... as you found out all the included path are screwed this way. There is a Makefile in the directory[3] kernel/samples/bpf, so simply chdir into this dir and run 'make'. Just like you would do in the kernel tree[4]. [4] https://github.com/torvalds/linux/blob/master/samples/bpf/README.rst [...] Could you please help me run these samples? Could you please guide meI've also been touring with a tutorial talk, see latest here[5] [5] http://people.netfilter.org/hawk/presentations/LLC2017/XDP_DDoS_protecting_LLC2017.pdf I guess, I'll update the documentation a bit after your feedback, thanks. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer
|
|