xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

XDP tutorial

Results 162 xdp-tutorial issues
Sort by recently updated
recently updated
newest added

[root@localhost packet03-redirecting]# make ... [root@localhost packet03-redirecting]# t exec -n left -- ./xdp_loader -d veth0 -F --progsec xdp_pass libbpf: Error in bpf_object__probe_name():Operation not permitted(1). Couldn't load basic 'r0 = 0' BPF...

As Andrii Nakryiko says in [this post](https://lore.kernel.org/netdev/CAEf4Bzby0AwzKfKwd5ZKXaEg1a1hpEfoPsqVLwPQVr89nAAxEA@mail.gmail.com/) we should not use `bpf_object__find_program_by_title` : > It would be good to avoid using find_program_by_title(), as it's going to get deprecated and eventually...

Is there an easy way to simulate and test my functions? I want to play around with IPv6 headers and it would be easier to do the parsing and testing...

Thanks for making this awesome tutorials! I try using ebpf on OpenWrt. I can easily cross compile the ebpf programms with changing the Makefile target to `bpfeb`. I can even...

Hi All, I am trying to do following things using xdp: 1. parse in coming packets 2. if packets are ICMP or PROFINET, extract the payload(anything after vlan hdr) and...

Update libbpf and pin to specific release (0.0.8). Starting from 0.0.7 libbpf requires zlib as a build dependency. This PR adds -lz to LIBS in common.mk and adds zlib-devel as...

https://github.com/xdp-project/xdp-tutorial/tree/master/advanced01-xdp-tc-interact

Debian now has bpftool, in testing and newer, as well as available in buster-backports

Now I know a list that shows all nic drivers supporting xdp. https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md#xdp

This is the minimum conversion needed to update libbpf (as suggested in #155); should we keep it at this, or also port the map definitions to new-style BTF while we're...