bpfd currently takes some liberties with the libxdp protocol - keeping its own bpffs for example.
we need to be completely stateless and use the same bpffs location as libxdp, allowing libxdp programs to co-exist with us.
this means that we may also encounter programs that we didn't load 😱
Aya
[ ] Detect if we can attach programs using bpf_link for XDP, or not
[ ] Provide a means to override features, to force use of Netlink for XDP
[ ] Fix Netlink-related XDP bugs
Bpfd
[ ] Ensure that we use /sys/fs/xdp for pins, and use the same filename format as libxdp
[ ] Don't store dispatcher state in BpfPrograms and be entirely stateless
[ ] Add an integration test to show libxdp compatibility,
bpfd currently takes some liberties with the libxdp protocol - keeping its own bpffs for example. we need to be completely stateless and use the same bpffs location as libxdp, allowing libxdp programs to co-exist with us. this means that we may also encounter programs that we didn't load 😱
Aya
Bpfd
/sys/fs/xdp
for pins, and use the same filename format as libxdpBpfPrograms
and be entirely stateless