Re: [ovs-dev] [PATCH v4 11/12] ofproto: Use minimatch for making bundles smaller.

2015-06-12 Thread Jarno Rajahalme
> On Jun 10, 2015, at 5:53 PM, Ben Pfaff wrote: > > On Wed, Jun 10, 2015 at 05:52:21PM -0700, Jarno Rajahalme wrote: >> >>> On Jun 10, 2015, at 5:46 PM, Ben Pfaff wrote: >>> >>> On Tue, Jun 09, 2015 at 05:24:18PM -0700, Jarno Rajahalme wrote: struct match in ofputil_flow_mod uses a lot o

Re: [ovs-dev] [PATCH v4 11/12] ofproto: Use minimatch for making bundles smaller.

2015-06-10 Thread Ben Pfaff
On Wed, Jun 10, 2015 at 05:52:21PM -0700, Jarno Rajahalme wrote: > > > On Jun 10, 2015, at 5:46 PM, Ben Pfaff wrote: > > > > On Tue, Jun 09, 2015 at 05:24:18PM -0700, Jarno Rajahalme wrote: > >> struct match in ofputil_flow_mod uses a lot of space, when used for a > >> stored bundle message. Th

Re: [ovs-dev] [PATCH v4 11/12] ofproto: Use minimatch for making bundles smaller.

2015-06-10 Thread Jarno Rajahalme
> On Jun 10, 2015, at 5:46 PM, Ben Pfaff wrote: > > On Tue, Jun 09, 2015 at 05:24:18PM -0700, Jarno Rajahalme wrote: >> struct match in ofputil_flow_mod uses a lot of space, when used for a >> stored bundle message. This patch adds a new struct >> ofputil_miniflow_mod, that uses a minimatch ins

Re: [ovs-dev] [PATCH v4 11/12] ofproto: Use minimatch for making bundles smaller.

2015-06-10 Thread Ben Pfaff
On Tue, Jun 09, 2015 at 05:24:18PM -0700, Jarno Rajahalme wrote: > struct match in ofputil_flow_mod uses a lot of space, when used for a > stored bundle message. This patch adds a new struct > ofputil_miniflow_mod, that uses a minimatch instead of match in hopes > of using less memory when handlin

[ovs-dev] [PATCH v4 11/12] ofproto: Use minimatch for making bundles smaller.

2015-06-09 Thread Jarno Rajahalme
struct match in ofputil_flow_mod uses a lot of space, when used for a stored bundle message. This patch adds a new struct ofputil_miniflow_mod, that uses a minimatch instead of match in hopes of using less memory when handling large bundles. Signed-off-by: Jarno Rajahalme --- lib/match.c