Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhouchaowen/ebpf_labs
A series of ebpf experiments
https://github.com/zhouchaowen/ebpf_labs
ebpf xdp
Last synced: 2 months ago
JSON representation
A series of ebpf experiments
- Host: GitHub
- URL: https://github.com/zhouchaowen/ebpf_labs
- Owner: Zhouchaowen
- License: mit
- Created: 2023-03-15T05:14:27.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-18T05:20:50.000Z (6 months ago)
- Last Synced: 2024-07-18T07:18:24.312Z (6 months ago)
- Topics: ebpf, xdp
- Language: C
- Homepage:
- Size: 1.12 MB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ebpf_labs
A series of ebpf_labs experiments
# how to compile
## require
- Kernel >= 5.4.0
- ghcr.io/cilium/ebpf-builder@1694533004## clone
```bash
git clone
```## compile
> 示例:编译 ebpf_labs/xdp/printk_pass
```bash
cd ebpf_labs/xdp/printk_pass && make build
```## Reference
https://github.com/asavie/xdp
https://github.com/cody0704/xdp-examples
https://rexrock.github.io/post/af_xdp1/
https://github.com/lixiangzhong/xdp/blob/master/example/af_xdp_kern.c
https://github.com/sudoamin2/sparrow
https://colobu.com/2023/04/17/use-af-xdp-socket/
https://colobu.com/2023/04/02/support-1m-pps-with-zero-cpu-usage/