Hi Ben,
2016-02-25, Ben Pfaff:
To allow having the best of both worlds (avoid perf penalty in all cases,
but avoid complex code to automatically determine whether recirculation is
needed or not), would it be possible to specify in a flow, after an mpls
match, whether or not recirculation is wanted ?
No. That would be a layering violation.
I don't get what kind of layering violation you see.
Can you explain?
Whoever specifies the actions shouldn't have to know OVS implementation
details. Having to know whether recirculation is necessary means that
the user must know all about the implementation.
Also, the "pop MPLS" action is specified by OpenFlow and doesn't include
this information.
Thanks for the clarification.
Something that would seem to me as compatible with these consideration
would be a (possibly OVS-specific, but not necessarily) hint that the
user could give to the implementation to indicate that further
processing of the packet will not involve things requiring having parsed
the MPLS payload.
Of course, having no-penalty hit without having to provide a hint is
really the ideal user-side solution.
-Thomas
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev