[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150205150733.GG5546@pox.localdomain>
Date: Thu, 5 Feb 2015 16:07:33 +0100
From: Thomas Graf <tgraf@...ronetworks.com>
To: Andy Zhou <azhou@...ira.com>
Cc: dev@...nvswitch.com, netdev@...r.kernel.org
Subject: Re: [ovs-dev] [RFC: add openvswitch actions using BPF 2/2]
openvswitch: implements the BPF_PROG action in datapath
On 02/04/15 at 02:48pm, Andy Zhou wrote:
> BPF_PROG action allows an action to be implemented in eBPF language and
> downloaded by the userspace at runtime.
>
> Signed-off-by: Andy Zhou <azhou@...ira.com>
Thanks a lot for putting this together Andy and Joe and everybody else
who was involved. This is much further than what I expected as a first
step.
One slight open from my side is the avoidance of versioning help of
helpers. We want to avoid v2, v3, ... helpers if the need should arise
to extend an existing helper.
I think it should be doable with BPF to have the verifier accept if
a helper is called with less args than expected, to initialize those
to 0. This would allow for helpers to support additional arguments.
I think this needs to be documented and expectations should be clear.
Other than that I'm very very happy with where this is going.
It seems very doable to also allow for a BPF prog to be registered
upon flow table miss.
--
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