On Fri, Jul 10, 2015 at 09:55:39AM -0500, David Evans wrote:
> I¹m trying to add matches for specific types of GRE protocols as per the
> GRE header protocol type.
> I have added code in what I think are  in flow.c match.c and odp-util.c
> and ofp-util.c etc.
> 
> But I don¹t quite get how a mini flow is assembled and matched.
> 
> I got a match to add because in miniflow_extract (lib/flow.c)  I push my
> field in using miniflow_push_be16(mf, gre_type,gre_type);
> BUT when I get to odp_key_from_flow__  I find  data->gre_type is zero in
> the incoming flow structure.
> So I don¹t get how that is supposed to be populated.
> 
> Any pointers? 

The miniflow_extract() code is certainly tricky (I've made multiple
attempts to make it easier to understand, but each time it has hurt
performance so I couldn't commit it), but I don't have a good guess
about what's going wrong.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to