英文:
How to attach all tap dev by cilium/ebpf ? What's the best way except attach tap dev one by one if it is not support?
问题
如何通过Cilium/ebpf连接所有的tap设备?如果不支持一次性连接所有tap设备,除了逐个连接tap设备之外,还有什么更好的方法?
我阅读了文档,但没有找到多个连接函数。
英文:
How to attach all tap dev by cilium/ebpf ? What's the best way except attach tap dev one by one if it is not support ?
I read document not found mutil attach function.
答案1
得分: 1
截至撰写本答案时,目前还没有办法在单个“调用”中将XDP/TC程序附加到多个网络设备上。
我相信唯一可以实现类似功能的程序类型是kprobes。
因此,您将需要列出所有设备并逐个附加。
英文:
As of the writing of this answer, there is no way to attach XDP/TC programs to multiple network devices within a single "call".
I believe the only program type where something like this is possible is with kprobes.
So you will have to list all devices and attach one by one.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论