[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <db8cd2e8-9f51-dc8b-5e55-4c75d13d4858@fb.com>
Date: Fri, 19 May 2017 07:55:16 -0700
From: Alexei Starovoitov <ast@...com>
To: Edward Cree <ecree@...arflare.com>,
David Miller <davem@...emloft.net>,
Daniel Borkmann <daniel@...earbox.net>
CC: <alexei.starovoitov@...il.com>, <netdev@...r.kernel.org>
Subject: Re: [PATCH v2 1/3] bpf: Use 1<<16 as ceiling for immediate alignment
in verifier.
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!
Powered by blists - more mailing lists