[ovs-dev] [PATCH 12/41] ofp-util: Allow encoding Open Flow 1.2 Flow Stats Request Messages

Ben Pfaff blp at nicira.com
Thu Aug 9 00:14:52 UTC 2012


On Wed, Aug 08, 2012 at 05:10:18PM -0700, Ben Pfaff wrote:
> On Wed, Aug 08, 2012 at 06:49:47AM +0900, Simon Horman wrote:
> > Signed-off-by: Simon Horman <horms at verge.net.au>
> > +    case OFPUTIL_P_OF12: {
> > +        struct ofp11_flow_stats_request *ofsr;
> > +
> > +        raw = (fsr->aggregate
> > +               ? OFPRAW_OFPST_AGGREGATE_REQUEST
> > +               : OFPRAW_OFPST_FLOW_REQUEST);
> > +        msg = ofpraw_alloc(raw, OFP12_VERSION, 0);
> 
> I changed 0 to NXM_TYPICAL_LEN here, and in the existing OFPUTIL_P_NXM
> case too.

I pushed the series to this point to master.  I'll continue looking it
over in time, no need to resend or rebase at this point.



More information about the dev mailing list