[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 1 Feb 2017 18:30:30 -0800
From: Pravin Shelar <pshelar@....org>
To: Andy Zhou <azhou@....org>
Cc: "David S. Miller" <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [net-next ovs clone action 3/3] openvswitch: kernel datapath
clone action
On Tue, Jan 31, 2017 at 8:47 AM, Andy Zhou <azhou@....org> wrote:
> Add 'clone' kernel datapath support. In case the actions within clone
> do not modify the current flow, the actions are executed without
> making a copy of current key before execution. This analysis is
> done once per flow installation.
>
> On the other hand, in case the actions within clone may modify
> current flow key, a key has to be copied. In case the percpu
> 'flow_keys' is available for the next 'exec_actions_level', the clone
> actions will be executed without using the deferred fifo. Otherwise,
> deferred fifo is used this clone action.
>
I think we can use sample action to clone packet and apply
optimization to sample action. That will allow greater use of existing
action without additional complexity.
Thanks,
Pravin.
Powered by blists - more mailing lists