Re: [RFC net-next sample action optimization 2/3] openvswitch: Refactor recirc key allocation.

2017-03-10 Thread Andy Zhou
On Thu, Mar 9, 2017 at 11:11 AM, Joe Stringer wrote: > On 7 March 2017 at 16:15, Andy Zhou wrote: >> The logic of allocating and copy key for each 'exec_actions_level' >> was specific to execute_recirc(). However, future patches will reuse >> as well. Refactor the

Re: [RFC net-next sample action optimization 2/3] openvswitch: Refactor recirc key allocation.

2017-03-09 Thread Joe Stringer
On 7 March 2017 at 16:15, Andy Zhou wrote: > The logic of allocating and copy key for each 'exec_actions_level' > was specific to execute_recirc(). However, future patches will reuse > as well. Refactor the logic into its own function clone_key(). > > Signed-off-by: Andy Zhou

[RFC net-next sample action optimization 2/3] openvswitch: Refactor recirc key allocation.

2017-03-07 Thread Andy Zhou
The logic of allocating and copy key for each 'exec_actions_level' was specific to execute_recirc(). However, future patches will reuse as well. Refactor the logic into its own function clone_key(). Signed-off-by: Andy Zhou --- net/openvswitch/actions.c | 72