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

How to know XDP execution is in native mode or generic mode ?

I want to use packets having size more than 1500 bytes, so I want to increase MTU, but when I am increasing MTU xdp is not working, any setting I...

I am trying to write AF_XDP program for passing only packets having specific udp port with bpf_redirect_map, but sometimes no packets are coming to AF_XDP socket. My sender and receiver...

I have one network interface in my system with many VLAN. And I use static routes between them. ``` enp3s0f1: addresses: [192.168.170.6/24] routes: - to: 1.1.1.0/24 via: 192.168.170.6 vlans: vlan302:...

1. code cleanup(comments, unused codes, indention etc.) 2. sync with latest libbpf, replace deprecated API usage and fix memory leak.

I play around with the `xdp_prog_kern.c` in `experiment01-tailgrow`, I change the `MIN_LEN` to `0` and `1`, but they both failed. Can anyone help answer this, thanks.

The requirement is like if I am receiving 2 packets with interval of 10 micro second (example value), then xdp(kernel) has to be time stamped the packet with 10 micro...

I am doing some XDP experiments with 2 Raspberry Pi 3 running Debian Buster. I had some minor setup issues with missing bpftool and missing asm/types.h.

Hi I encountered offset error while inserting xdp_icmp_echo. mount -t bpf bpf /sys/fs/bpf ./xdp_loader -d eth0 -F --filename xdp_prog_kern_03.o --progsec xdp_icmp_echo the error message is as follows > ... omitted...

I'm trying `xdp_router` under https://github.com/xdp-project/xdp-tutorial/blob/master/packet-solutions/xdp_prog_kern_03.c, but after loading the program onto 2 NICs, I'm no longer able to ping through the router with a reasonable amount of packet loss. (One...