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

Hi I have installed the dependencies. However, we I compile the basic01 tutorial, the following error with attached logs are seen. Any help is much appreciated. Regards [error.txt](https://github.com/xdp-project/xdp-tutorial/files/9312459/error.txt) ,

Hello there, I'm having a issue attempting to run "Assignment 3" in which you write a ping reply program. I thought I could just run this without any changes considering...

``` user@dingrui-Server:~/Projects/ebpf/xdp-tutorial/basic01-xdp-pass$ sudo ./xdp_pass_user --dev lo -S Success: Loading XDP prog name:xdp_prog_simple(id:4717) on device:lo(ifindex:1) user@dingrui-Server:~/Projects/ebpf/xdp-tutorial/basic01-xdp-pass$ sudo bpftool net list xdp: lo(1) generic id 4717 veth-basic02(187) generic id 4713 tc: flow_dissector:...

I have what I think is the right code for packet03 assignment 2, but I don't understand how to test it. Please can someone upload a script of the commands...

I would like to know about, how to set core affinity during run to completion and poll mode options using xdp. Any specific api is there for this? @magnus-karlsson @tohojo

Is there any provision in xdp, where two user space sockets can receive packets which are redirected from xdp hook code? Or is there any other way of giving the...

Hi I follow the guideline but I still not get packet to rewrite is there any command I am missing I get this on one terminal `t exec -- socat...

Hello Is there any example or something that show me how to parse a specific vlan id on a interface and filter it ? I have a interface with is...

Some time around [linux-5.13](https://github.com/torvalds/linux/commit/10397994d30f2de51bfd9321ed9ddb789464f572) loading fails with; ``` # ./af_xdp_user -d eth1 --filename af_xdp_kern.o libbpf: Netlink-based XDP prog detected, please unload it in order to launch AF_XDP prog ERROR: Can't...

Hi Dear Fellows: When I do AF_XDP test on Virtio network device, I got a problem as below. So pls help to figure out this problem, I don't know so...