Re: [ovs-dev] [PATCH v2 26/26] ofproto: Reduce bundle memory use.

2016-07-29 Thread Jarno Rajahalme
> On Jul 29, 2016, at 4:25 PM, Ben Pfaff wrote: > > On Thu, Jul 28, 2016 at 05:56:18PM -0700, Jarno Rajahalme wrote: >> Instead of storing the (big) struct ofputil_flow_mod, create the new >> rule and/or create the rule criteria for matching at bundle message >> insert time. These can be uninit

Re: [ovs-dev] [PATCH v2 26/26] ofproto: Reduce bundle memory use.

2016-07-29 Thread Ben Pfaff
On Thu, Jul 28, 2016 at 05:56:18PM -0700, Jarno Rajahalme wrote: > Instead of storing the (big) struct ofputil_flow_mod, create the new > rule and/or create the rule criteria for matching at bundle message > insert time. These can be uninitialized right after the start phase > during the commit, w

[ovs-dev] [PATCH v2 26/26] ofproto: Reduce bundle memory use.

2016-07-28 Thread Jarno Rajahalme
Instead of storing the (big) struct ofputil_flow_mod, create the new rule and/or create the rule criteria for matching at bundle message insert time. These can be uninitialized right after the start phase during the commit, which may also reduce the total memory needed during the bundle commit. S