Re: [ovs-dev] [PATCH v5 3/6] flow: Add struct flowmap.

2015-08-26 Thread Jarno Rajahalme
> On Aug 26, 2015, at 10:06 AM, Ben Pfaff wrote: > > On Fri, Aug 21, 2015 at 03:25:20PM -0700, Jarno Rajahalme wrote: >> Struct miniflow is now sometimes used just as a map. Define a new >> struct flowmap for that purpose. The flowmap is defined as an array of >> maps, and it is automatically

Re: [ovs-dev] [PATCH v5 3/6] flow: Add struct flowmap.

2015-08-26 Thread Ben Pfaff
On Fri, Aug 21, 2015 at 03:25:20PM -0700, Jarno Rajahalme wrote: > Struct miniflow is now sometimes used just as a map. Define a new > struct flowmap for that purpose. The flowmap is defined as an array of > maps, and it is automatically sized according to the size of struct > flow, so it will be

[ovs-dev] [PATCH v5 3/6] flow: Add struct flowmap.

2015-08-21 Thread Jarno Rajahalme
Struct miniflow is now sometimes used just as a map. Define a new struct flowmap for that purpose. The flowmap is defined as an array of maps, and it is automatically sized according to the size of struct flow, so it will be easier to maintain in the future. It would have been tempting to use th