ebpf
ebpf copied to clipboard
Add test suite for netkit devices
https://github.com/cilium/ebpf/pull/1257 proposes to add support for attaching netkit programs, but we don't want to take on a dependency to vishvananda/netlink, even for testing. We've decided to drop the netkit tests for now, since the patchset is small and largely based on existing code, and kernel support isn't shipping in major distros for a while.
This issue is for 2 things:
- add netkit support to https://github.com/jsimonetti/rtnetlink
- add tests for the behaviour introduced in https://github.com/cilium/ebpf/pull/1257
@ti-mo I can work on adding netkit support to jsimonetti/rtnetlink
@ti-mo I can work on adding netkit support to
jsimonetti/rtnetlink
Perfect! Any ETA?
Not sure, I will try to push a PR upstream as soon as time allows.
@ti-mo we will need to wait for a new version of golang.org/x/sys
package which should be released soon, at least according to their release history. Netkit related symbols are there but not in a tagged version yet.
Hi @brlbil! Any news?
Hi @lmb We need some significant changes upstream. I will open an issue to discuss what would be the best way to proceed upstream.
@lmb @ti-mo I have created an issue upstream for discussion https://github.com/jsimonetti/rtnetlink/issues/216
The PR to merge drivers including netkit
, https://github.com/jsimonetti/rtnetlink/pull/221