-
Please forgive me in case I've missed this feature, but looking especially at libxdp's README.org and especially libxdp/protocol.org describe a protocol that allows to modularize XDP programs into what I think is called "components". As this is done in user space, libxdp documents the protocol behind it, not least that other implementation (such as a Go native, non-libxdp/cgo) can successfully interoperate with libxdp. Are there any plans on supporting the component feature in the cilium/ebpf module? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
libxdp is a project built on top of libbpf, so another Go library could implement the same approach on top of ebpf-go. libxdp takes a highly opinionated approach, so for the same reason libxdp exists as a separate library from libbpf, ebpf-go is unlikely to ever implement a similar concept directly. @dylandreimerink was working on an AF_XDP implementation some time ago, not sure if this is related. |
Beta Was this translation helpful? Give feedback.
-
@ti-mo @dylandreimerink Does libxdp (for attach multiple xdp prog) supported already? Thanks |
Beta Was this translation helpful? Give feedback.
libxdp is a project built on top of libbpf, so another Go library could implement the same approach on top of ebpf-go. libxdp takes a highly opinionated approach, so for the same reason libxdp exists as a separate library from libbpf, ebpf-go is unlikely to ever implement a similar concept directly.
@dylandreimerink was working on an AF_XDP implementation some time ago, not sure if this is related.