fix the link to tutorial

This commit is contained in:
yunwei37
2023-06-03 03:38:15 +08:00
committed by 云微
parent dea38b0d80
commit d995c6a6f8
16 changed files with 20 additions and 340 deletions

View File

@@ -1,4 +1,4 @@
# eBPF 入门实践教程:使用 eBPF 进行 tc 流量控制
# eBPF 入门实践教程二十:使用 eBPF 进行 tc 流量控制
## 背景
@@ -100,9 +100,7 @@ $ sudo cat /sys/kernel/debug/tracing/trace_pipe
本文介绍了如何向 TC 流量控制子系统挂载 eBPF 类型的 filter 来实现对链路层数据包的排队处理。基于 eunomia-bpf 提供的通过注释向 libbpf 传递参数的方案,我们可以将自己编写的 tc BPF 程序以指定选项挂载到目标网络设备,并借助内核的 sk_buff 结构对数据包进行过滤处理。
更多的例子和详细的开发指南,请参考 eunomia-bpf 的官方文档:<https://github.com/eunomia-bpf/eunomia-bpf>
完整的教程和源代码已经全部开源,可以在 <https://github.com/eunomia-bpf/bpf-developer-tutorial> 中查看。
如果您希望学习更多关于 eBPF 的知识和实践,可以访问我们的教程代码仓库 <https://github.com/eunomia-bpf/bpf-developer-tutorial> 以获取更多示例和完整的教程。
## 参考