[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150108072600.GC1860@nanopsycho.orion>
Date: Thu, 8 Jan 2015 08:26:00 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Daniel Borkmann <dborkman@...hat.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jhs@...atatu.com,
stephen@...workplumber.org, ast@...mgrid.com
Subject: Re: [patch net-next] tc: add BPF based action
Wed, Jan 07, 2015 at 07:33:39PM CET, dborkman@...hat.com wrote:
>On 01/07/2015 05:43 PM, Jiri Pirko wrote:
>>This action provides a possibility to exec custom BPF code.
>
>Can you elaborate a bit more on the particular use-case, and
>what scenarios are unsolveable with the BPF filter we already
>have in tc? Just wondering, since you're using BPF for the
>purpose of classifying (but just from the context of actions)
>what about a possibility of a generic container for reusing
>(any) classifier from the framework, so we would not need to
>duplicate code?
>
>On the other hand, I would understand if it's at some point in
>time eBPF which would f.e. mangle the packet, but the API you
>propose is clearly classic BPF. ;)
Exactly. I would like to extend cls_bpf and act_bpf to handle eBPF right
after. That is the point.
>
>Thanks,
>Daniel
--
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