[ovs-dev] [PATCH v2 12/15] ofproto-dpif-xlate: Allow translating without side-effects.

Ben Pfaff blp at ovn.org
Tue Aug 30 00:06:28 UTC 2016


On Mon, Aug 22, 2016 at 04:31:38PM -0700, Jarno Rajahalme wrote:
> Extend 'may_learn' attribute to also control the treatment of
> FIN_TIMEOUT action and asynchronous messages (packet ins,
> continuations), so that when 'may_learn' is 'false' and
> 'resubmit_stats' is 'NULL', no OpenFlow-visible side effects are
> generated by the translation.
> 
> Correspondingly, add support for one-time asynchronous messages to
> xlate cache, so that all side-effects of the translation may be
> executed at a later stage.  This will be useful for bundle commits.
> 
> Signed-off-by: Jarno Rajahalme <jarno at ovn.org>

Would it make any sense to drop support for immediate effects, so that
callers that want immediate effects provide an xcache entry and then
execute it and discard it?

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list