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

I notice that the xdp-tutorial is set up with the "older" libbpf, and I want to build eBPF programs based on the tutorial with the "newer" libbpf. Has anyone got...

I am trying to evaluate using AF_XDP and a user-space application for packet filtering. Using iperf3 to generate udp packets flowing between namespaces on a VM gives me a data...

Is there an example of how to use this function ? I am trying to write a test case which receives packets from 2 interfaces and sends each packet out...

Hey everybody, I'm currently trying to modify the the af_xdp_user.c program to process and transmit packets in batches as per the hint in the process_packet() function. Has anyone looked into...

When I try to run make in directory packet03-redirecting. It throws this error: ``` xdp_prog_kern.c:60:8: error: variable 'echo_reply' set but not used [-Werror,-Wunused-but-set-variable] __u16 echo_reply; ^ 1 error generated. make:...

How can we send (tx) packet using af_xdp with run to completion mode. All the example I am seeing are with a sendto option. (Which is not the one with...

Hi, I am newbie to XDP. I got inspired by this tutorial and wanted to test redirecting packets between veths on kubernetes I used hard-coded IP and MAC address in...

Can I run multiple threads and call `sendto()` for a same AF_XDP socket concurrently?

I don't know how to load progsec with xdp-load cmd? It seems xdp-load cmd has changed

root@zhangyi:/clone/xdp-tutorial# make clang: 11.0.0-2~ubuntu20.04.1 libbpf support: submodule ELF support: yes zlib support: yes libxdp support: submodule Configuring libxdp to use our libbpf submodule *** ERROR: Cannot find tool m4 lib...