dropbox / goebpf

Library to work with eBPF programs from Go
Other
1.14k stars 85 forks source link

Should we support af_xdp? #34

Open annp1987 opened 4 years ago

annp1987 commented 4 years ago

Hi, Thanks for the great library. I really like the way goebpf handle ebpf, but I found that goebpf seems not to support af_xdp. So it would be better to support af_xdp, af_xdp is necessary for integrate with some dpi library like ndpi. What do you think?

belyalov commented 4 years ago

Hi,

Thanks for bringing up this question! :) We should! :) But at Dropbox we currently don't have use cases for AF_XDP so it is not there yet.

Do you have something in mind of how support may like?

Best

annp1987 commented 4 years ago

Hi,

I'm so sorry for the delay in replying. I'm finding a way to support it. I will let you know (maybe PR) when I found it.

Thanks for your great work,

martenwallewein commented 3 years ago

@annp1987 Is there any progress ongoing for adding af_xdp support? Would be interested in this, too.

annp1987 commented 3 years ago

@martenwallewein: Sorry, I haven't had time for it yet. if you interested in this, please feel free to take it.