Re: [ovs-dev] [PATCH 1/2] datapath: Refactor actions in terms of match fields.

2011-10-11 Thread Pravin Shelar
On Mon, Oct 10, 2011 at 11:05 PM, Jesse Gross wrote: > On Fri, Oct 7, 2011 at 1:03 PM, Pravin B Shelar wrote: >> Almost all current actions can be expressed in the form of >> push/pop/set , where field is one of the match fields. We can >> create three base actions and take a field. This has both

Re: [ovs-dev] [PATCH 1/2] datapath: Refactor actions in terms of match fields.

2011-10-10 Thread Jesse Gross
On Fri, Oct 7, 2011 at 1:03 PM, Pravin B Shelar wrote: > Almost all current actions can be expressed in the form of > push/pop/set , where field is one of the match fields. We can > create three base actions and take a field. This has both a nice > symmetry and avoids inconsistencies where we can

[ovs-dev] [PATCH 1/2] datapath: Refactor actions in terms of match fields.

2011-10-07 Thread Pravin B Shelar
Almost all current actions can be expressed in the form of push/pop/set , where field is one of the match fields. We can create three base actions and take a field. This has both a nice symmetry and avoids inconsistencies where we can match on the vlan TPID but not set it. Following patch converts