Eelco Chaudron

Results 38 comments of Eelco Chaudron

XDP does not yet support multicasting to multiple interfaces, the following patch is in review: https://lore.kernel.org/bpf/[email protected]/

I quickly looked at this, but if we take multiple expand outputs, the tool does not know the relation to each other (there is no linker input). We could assume...

Does the driver support XDP? If not, you need to use skb-mode.

The af_xdp example has the --skb-mode option to accomplish this. Not sure how up-to-date the below list is, but you can look at the driver code yourself. https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md#xdp

I assume you are running the base ``./af_xdp_user --skb-mode`` program which normally eats all packets? If so, when the program is running do you still see the packets reaching the...

To make sure your kernel works correctly, is the ``af_xdp_user`` program working in the testenv.sh? In addition, can you try with --skb-mode?

> How to use skb-mode in xdp ? Any flag I need to use? Use the --skb-mode flag with the tutorial program > The interesting thing is the same xdp...

You could use [xdp-dump](https://github.com/xdp-project/xdp-tools/tree/master/xdp-dump) to capture the return code and modifications your program made before sending it to the kernel. Use something like ```xdpdump -i --rx-capture entry,exit -w capture.pcap``` and...

If there is no XDP program loaded, xdpdump falls back to libpcap mode (you should see a warning informing you of that). Looks like your kernel and/or XDP program does...

I've opened an issue for xdp-tools, will fix it when I get some time: https://github.com/xdp-project/xdp-tools/issues/112