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

Just spooted a typo in your parsing_helpers.h which breaks you bounds check for parsing ipv4 packets. https://github.com/xdp-project/xdp-tutorial/blob/master/common/parsing_helpers.h#L163 should be `sizeof(*iph)` Reporting, in case you wanna fix it. 😄

Is it possible to add a delay to packages? So I can just replace `tc` and `netem`?

Is there a way to write into the kernel table? The only option currently that I see is to poll a map from userspace and do a write then, or?

Hi, Is there any way to iterate through eBPF Map elements in kernel space. I know that there is one at user space bpf_map_get_next_key(). But I have a requirement to...

Hi everyone, I want to know whether XDP can remove some data from a packet and then send these data to user space. Thanks in advance!

I created 4 AF_XDP sockets sharing one umen with XDP_SHARED_UMEM. Fourt threads only doing rx_drop pkts for each socket. But it seems AF_XDP not support concurrent receiving packets. So, does...

last_idx 475 first_idx 448 regs=4 stack=0 before 474: (b7) r2 = 35 476: (bf) r7 = r10 477: (07) r7 += -96 478: (bf) r1 = r6 479: (b7) r2...

I'm always running XDP applications on servers with Intel Xeon Gold CPU's, performance was always good and was not a problem - up to 125Mpps with 100 GbE MCX515A-CCAT network...

root@l406-tracker-02:/home/xdpopt/xdp-tutorial/experiment01-tailgrow# make clang -S \ -target bpf \ -D __BPF_TRACING__ \ -I../libbpf/src//build/usr/include/ -I../headers/ \ -Wall \ -Wno-unused-value \ -Wno-pointer-sign \ -Wno-compare-distinct-pointer-types \ -Werror \ -O2 -emit-llvm -c -g -o xdp_prog_kern4.ll...

Hi All, Is there any xdp api or mechanism which i can use to add a custom header(includes a seq. number and next_proto fields) to packets and pass it to...