On 5/19/17 7:21 AM, Edward Cree wrote:
I'm currently translating the algos to C. But for the kernel patch, I'll need to read & understand the existing verifier code, so it might take a while :) (I don't suppose there's any design document or hacking-notes you could point me at?)
Dave just gave a good overview of the verifier: https://www.spinics.net/lists/xdp-newbies/msg00185.html Few more details in Documentation/networking/filter.txt and in top comments in kernel/bpf/verifier.c General bpf arch overview: http://docs.cilium.io/en/latest/bpf/#instruction-set
But I'll give it a go for sure.
Thanks!