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 am using Ubuntu 20.04.6 LTS , and I set up my enviroment by doing erver step in [setup_dependencies.org](https://github.com/xdp-project/xdp-tutorial/blob/master/setup_dependencies.org) I use `sudo apt install linux-tools-common linux-tools-generic` to install bpftool...

1. My os version ``` root@ubuntu20-04:~/xdp-tutorial/basic01-xdp-pass# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS" root@ubuntu20-04:~/xdp-tutorial/basic01-xdp-pass# uname -a Linux ubuntu20-04 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64...

https://github.com/xdp-project/xdp-tutorial/blob/7c515b64f38b7209f9bc620c581d016779b000ae/lib/defines.mk#L4 The line refers to a file that doesn't exists.

hi,everone ! I would like to ask if there is a way to use XDP to extend the packet, such as adding a new field, and ensure that the end...

https://github.com/xdp-project/xdp-tutorial/blob/7c515b64f38b7209f9bc620c581d016779b000ae/basic01-xdp-pass/README.org?plain=1#L41C33-L41C33 There is no configure file.

For my project, I want to insert a timestamp option into outer IP header of a GENEVE encapsulated packet. I tried with a BPF program which attached into egress TC...

I am having an observation where in some of the system with optical fiber adapter (sfp/sfp+) the run to completion mode is not working, only the poll mode is working....

I followed [Bidirectional Router](https://github.com/xdp-project/xdp-tutorial/tree/master/packet03-redirecting#assignment-3-extend-to-a-bidirectional-router) and ping between `left` and `right` works: From inside `t enter --name right`: ``` root@main:~/xdp-tutorial/packet03# ping fc00:dead:cafe:4::2 PING fc00:dead:cafe:4::2(fc00:dead:cafe:4::2) 56 data bytes 64 bytes from fc00:dead:cafe:4::2:...

Hi I have been facing this issue. ``` sudo xdp-loader status lo CURRENT XDP PROGRAM STATUS: Interface Prio Program name Mode ID Tag Chain actions -------------------------------------------------------------------------------------- libxdp: XDP dispatcher version...

Hi, I'm learning xdp-project but when I build the example, I get this error. I use kernel version 5.8.0-63-generic, is this version not suitable for project? ![image](https://user-images.githubusercontent.com/29721257/230591365-dd1ee670-e131-4883-9b1d-db6e58be2873.png) ![image](https://user-images.githubusercontent.com/29721257/230591525-3be18482-0a5a-490f-a06b-9107d02c8847.png) ![image](https://user-images.githubusercontent.com/29721257/230591590-3ac7fd96-78e8-40bf-a299-c56eb1559e5f.png)