Re: [ovs-dev] [PATCH 2/2] xlate: normalize the actions after translation

2017-12-06 Thread Zoltán Balogh
sson.com> > Subject: Re: [ovs-dev] [PATCH 2/2] xlate: normalize the actions after > translation > > Here is an idea that just occurred to me. What if we used a kind of > copy-on-write approach? That is, whenever the flow is modified, we > first check whether we need to do a &quo

Re: [ovs-dev] [PATCH 2/2] xlate: normalize the actions after translation

2017-12-06 Thread Zoltán Balogh
Subject is incorrect, missing v2. Please use this instead: https://mail.openvswitch.org/pipermail/ovs-dev/2017-December/341658.html > -Original Message- > From: Zoltán Balogh > Sent: Wednesday, December 06, 2017 11:55 AM > To: d...@openvswitch.org > Cc: Zoltán Balogh

[ovs-dev] [PATCH 2/2] xlate: normalize the actions after translation

2017-12-06 Thread Zoltan Balogh
When all OF actions have been translated, there could be actions at the end of list of odp actions which are not needed to be executed. So, the list can be normalized at the end of xlate_actions(). Signed-off-by: Zoltan Balogh Signed-off-by: Sugesh Chandran

Re: [ovs-dev] [PATCH 2/2] xlate: normalize the actions after translation

2017-11-13 Thread Ben Pfaff
>flow); > copy_altered_flow_data(>base_flow, >base_flow); > } > } > > What do you think? > > Best regards, > Zoltan > > > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Tuesday, October 31, 20

Re: [ovs-dev] [PATCH 2/2] xlate: normalize the actions after translation

2017-11-13 Thread Zoltán Balogh
Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Tuesday, October 31, 2017 9:30 PM > To: Zoltán Balogh <zoltan.bal...@ericsson.com> > Cc: d...@openvswitch.org > Subject: Re: [ovs-dev] [PATCH 2/2] xlate: normalize the actions after > translation &g

Re: [ovs-dev] [PATCH 2/2] xlate: normalize the actions after translation

2017-10-31 Thread Ben Pfaff
On Mon, Oct 30, 2017 at 12:22:50PM +0100, Zoltan Balogh wrote: > When all OF actions have been translated, there could be actions at > the end of list of odp actions which are not needed to be executed. > So, the list can be normalized at the end of xlate_actions(). > > Signed-off-by: Zoltan

[ovs-dev] [PATCH 2/2] xlate: normalize the actions after translation

2017-10-30 Thread Zoltan Balogh
When all OF actions have been translated, there could be actions at the end of list of odp actions which are not needed to be executed. So, the list can be normalized at the end of xlate_actions(). Signed-off-by: Zoltan Balogh Signed-off-by: Sugesh Chandran