cilium / ebpf

ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.

Home Page:https://ebpf-go.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add test suite for netkit devices

ti-mo opened this issue · comments

#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:

@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 jsimonetti/rtnetlink#216

The PR to merge drivers including netkit, jsimonetti/rtnetlink#221