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

Is there any way to use NIC's CRC offload when sending packets via XDP TX?

I have Ubuntu:20.04 based Docker environment where I am going over tutorial. I have installed all required tools. While going over basic02 module, I tried using “testenv.sh setup” which failed...

In commit "dcdc6836f237c8a1a36b2d699c171475a7c4d07e" with branch "origin/master", the following compilation error would occur like that: > In file included from xdp_prog_kern.c:8: ./../common/parsing_helpers.h:156:28: error: unused function 'parse_icmp6hdr' [-Werror,-Wunused-function] static __always_inline int parse_icmp6hdr(struct...

Currently the `-g` flag is set everywhere during building. This can cause a BTF issue [1] if the source file referenced in the BTF section cannot be found at clang...

The XDP tutorial setup dependencies [1] say: > For now, this tutorial depends on kernel headers package provided by your distro. We may choose to shadow some of these later....

1. xdp_loader: ./xdp_loader --dev lo -S --progsec xdp_packet_parser verb 2. Problem Description: libbpf: load bpf program failed: Permission denied libbpf: -- BEGIN DUMP LOG --- libbpf: 0: (bf) r6 =...

Hi, I am trying to enable AF_XDP zero copy mode and i see the error in Cent OS 8(kernel 4.18), but SKB mode and DRV mode with copy works fine....

Thanks so much for such an incredible resource! I've been working through the assignments and I was trying to understand how the provided solution implements what the prompt requires for...

hi I installed the last version of BPF but when I run clang I get this error message, which means I don't have this include. How is it gotten?

After experiencing AF_XDP packet loss myself, and reading about others experiencing packet loss too [1], I tried to reproduce the packet loss with barely modified XDP tutorial code. Below I...