[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150320143049.GG2223@nanopsycho.brq.redhat.com>
Date: Fri, 20 Mar 2015 15:30:49 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: davem@...emloft.net, ast@...mgrid.com, netdev@...r.kernel.org,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [PATCH net-next 2/2] act_bpf: add initial eBPF support for
actions
Fri, Mar 20, 2015 at 03:11:12PM CET, daniel@...earbox.net wrote:
>This work extends the "classic" BPF programmable tc action by extending
>its scope also to native eBPF code!
>
>Together with commit e2e9b6541dd4 ("cls_bpf: add initial eBPF support
>for programmable classifiers") this adds the facility to implement fully
>flexible classifier and actions for tc that can be implemented in a C
>subset in user space, "safely" loaded into the kernel, and being run in
>native speed when JITed.
>
>Also, since eBPF maps can be shared between eBPF programs, it offers the
>possibility that cls_bpf and act_bpf can share data 1) between themselves
>and 2) between user space applications. That means that, f.e. customized
>runtime statistics can be collected in user space, but also more importantly
>classifier and action behaviour could be altered based on map input from
>the user space application.
>
>For the remaining details on the workflow and integration, see the cls_bpf
>commit e2e9b6541dd4. Preliminary iproute2 part can be found under [1].
>
> [1] http://git.breakpoint.cc/cgit/dborkman/iproute2.git/log/?h=ebpf-act
>
>Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
>Cc: Jamal Hadi Salim <jhs@...atatu.com>
>Cc: Jiri Pirko <jiri@...nulli.us>
Would be easier to review without the variable renames.
But still, I like this a lot! Thanks!
Acked-by: Jiri Pirko <jiri@...nulli.us>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists