Re: [ovs-dev] [PATCH v2 01/15] ofp-actions: Make union ofp_action more generic.

2013-10-23 Thread Ben Pfaff
On Wed, Oct 23, 2013 at 11:02:54AM -0700, Jarno Rajahalme wrote: > > On Oct 23, 2013, at 9:46 AM, Ben Pfaff wrote: > > > On Tue, Oct 22, 2013 at 05:20:39PM -0700, Jarno Rajahalme wrote: > >> Make union ofp_action more generic by allowing it to be used for > >> all actions. OFP_ACTION_ALIGN (whi

Re: [ovs-dev] [PATCH v2 01/15] ofp-actions: Make union ofp_action more generic.

2013-10-23 Thread Jarno Rajahalme
On Oct 23, 2013, at 9:46 AM, Ben Pfaff wrote: > On Tue, Oct 22, 2013 at 05:20:39PM -0700, Jarno Rajahalme wrote: >> Make union ofp_action more generic by allowing it to be used for >> all actions. OFP_ACTION_ALIGN (which is 8, as the sizeof(union >> ofp_action) used to be) is now used where siz

Re: [ovs-dev] [PATCH v2 01/15] ofp-actions: Make union ofp_action more generic.

2013-10-23 Thread Ben Pfaff
On Tue, Oct 22, 2013 at 05:20:39PM -0700, Jarno Rajahalme wrote: > Make union ofp_action more generic by allowing it to be used for > all actions. OFP_ACTION_ALIGN (which is 8, as the sizeof(union > ofp_action) used to be) is now used where sizeof union ofp_action > was used before. On the same n

[ovs-dev] [PATCH v2 01/15] ofp-actions: Make union ofp_action more generic.

2013-10-22 Thread Jarno Rajahalme
Make union ofp_action more generic by allowing it to be used for all actions. OFP_ACTION_ALIGN (which is 8, as the sizeof(union ofp_action) used to be) is now used where sizeof union ofp_action was used before. On the same note, variable name 'n_actions' is changed to 'max_actions' as the number