Re: [PATCH v9 net-next 2/4] net: filter: split filter.h and expose eBPF to user space

2 messages, 2 authors, 2014-09-04 · open the first message on its own page

Re: [PATCH v9 net-next 2/4] net: filter: split filter.h and expose eBPF to user space

From: Alexei Starovoitov <hidden>
Date: 2014-09-04 05:41:51

On Wed, Sep 3, 2014 at 8:46 AM, Daniel Borkmann [off-list ref] wrote:
On 09/03/2014 05:17 AM, Alexei Starovoitov wrote:
quoted
allow user space to generate eBPF programs

uapi/linux/bpf.h: eBPF instruction set definition

linux/filter.h: the rest

This patch only moves macro definitions, but practically it freezes
existing
eBPF instruction set, though new instructions can still be added in the
future.

These eBPF definitions cannot go into uapi/linux/filter.h, since the names
may conflict with existing applications.

Full eBPF ISA description is in Documentation/networking/filter.txt

Signed-off-by: Alexei Starovoitov <redacted>

Ok, given you post the remaining two RFCs later on this window as
you indicate, I have no objections:

Acked-by: Daniel Borkmann <redacted>
David,

I see that all 4 patches are marked as rfc, whereas I tagged
only 3 and 4 as 'rfc' and mentioned in cover letter that they
will be coming for real in stage III. Here they support patch 2
and show the future changes to bpf.h file.
Patches 1 and 2 are good to go.
Note that they're on top of Hannes's patch:
http://patchwork.ozlabs.org/patch/385266/
Do you want me to resubmit just first two?

Thanks

Re: [PATCH v9 net-next 2/4] net: filter: split filter.h and expose eBPF to user space

From: David Miller <davem@davemloft.net>
Date: 2014-09-04 21:49:19

From: Alexei Starovoitov <ast-uqk4Ao+rVK5Wk0Htik3J/w@public.gmane.org>
Date: Wed, 3 Sep 2014 22:41:48 -0700
Do you want me to resubmit just first two?
Yes, you can't submit hodge-podge path series, either it's all to
be applied or it's all RFC material.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help