On Wed, Jan 15, 2014 at 04:13:25PM +0900, Simon Horman wrote:
> The key is sourced from the datapath so should not
> have more labels than it can handle.
> 
> dpif-netdev supports as many LSEs as can fit in struct flow,
> so it is safe to pass SIZE_MAX as the limit there.
> 
> This is an proposed enhancement to
> "Implement OpenFlow support for MPLS, for up to 3 labels."
> 
> Signed-off-by: Simon Horman <ho...@verge.net.au>

I don't think we'd ever try to install a flow that matches on more
MPLS labels than we probed the datapath as supporting.  If we do, that
sounds like a bug.  I think that this change would just make the bug
harder to find, by making us suppress the error inside odp-util
without actually fixing the bug at the higher layer.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to