Jesper Dangaard Brouer

Results 56 comments of Jesper Dangaard Brouer

> I have no idea why it fail to compile in kernel/sample/bpf. > in kernel, "make" works well. This issue clearly states that this project does NOT compile any-longer on...

Well... we are working on deprecating the files under kernel/samples/bpf, both because (1) Makefile dependency on a kernel tree breaks all the time (as you have experienced), and (2) people...

It **was** the plan to merge the documentation in this repo into the kernel, but I've dropped that plan. ... maybe I should just delete the documentation in this repo....

The issue is a good reminder that **I need to clean up this doc mess** ... ... Thus, keep it open to force me to work on this ;-)

First of all I strongly recommend that to learn about eBPF (and XDP) use this repo instead: https://github.com/xdp-project/xdp-tutorial (as this is based on ELF-loader libbpf) The definition of `struct bpf_map_def`...

Hmmm... I'm not sure it is a good idea to duplicate kernel sample xdpsock here... because that means that I/we have to maintain it it two places. I know that...

As libbpf now support TC-attaching directly, we should consider converting "pping" and "traffic-pacing-edt" to use that instead of mentioned shell script.

I'm having a hard time finding the BPF code in this example. I assume it is in echo/echo-ebpf/src/main.rs, but I simply don't understand this code. We need some more hand-holding...

BTF in the kernel tree have moved away from ```BPF_ANNOTATE_KV_PAIR``` define system (which is used in this PR branch) In kernel v5.5 it will be placed in: [tools/testing/selftests/bpf/bpf_legacy.h](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/bpf_legacy.h) - Changed...