The motivation of this series is to allow some sequences of actions that include MPLS actions to be performed using recirculation. Sequences of actions that could not previously be handled.
For example pop_mpls:0x0800,dec_ttl. This uses recirculation after the pop_mpls action to allow access to L3 information of the inner packet which is used by the dec_ttl action. Caveats: * Packets with an in port that is not present in the datapath (e.g. CONTROLLER, patch-ports) may not be recirculated due to limitations in the recirculation infrastructure used by this patchset. This problem is common to all users of recirculation (the other is bonding). * Recirculation looses metadata fields such as registers, the stack, and original skb priority. Key changes between v7 and v8 * Unconditionally set ctx->exit in compose_recirculate_action() Key changes between v6 and v7 * Dropped patches that have been merged * New approach to determining if recirculation should occur * Thanks to Ben for both of the above. Key changes between v5 and v6 * Dropped patches that have been merged (Thanks Ben!) * Enhance documentation of recirc id management for no-rule case * Clean up recirculation trigger in do_xlate_actions() * Add more test cases to exercise the triggers in do_xlate_actions() Key changes between v4 and v5 * Dropped patches that have been merged (Thanks Ben!) Key changes between v3 and v4 * Drop patches that add execution in userspace to allow recirculation when the in_port is not present in the datapath. This is a deeper problem than I thought and is being discussed separately. Key changes between v2 and v3 * Drop support for patch ports * Rework support for packet out - Broken out into separate patches which start by adding infrastructure and using it for recirculation for bonding Key changes between v1 and v2 * Support for: packet_out and patch ports * More tests To aid review this series and its dependencies are available in git https://github.com/horms/openvswitch devel/mpls-flow-based-recirculation-v8 Simon Horman (3): ofproto-dpif: MPLS recirculation ofp-actions: Allow pop_mpls on MPLS packets ofproto-dpif: Add MPLS tests lib/ofp-actions.c | 6 - ofproto/ofproto-dpif-xlate.c | 166 ++++++++- tests/dpif-netdev.at | 1 + tests/ofproto-dpif.at | 871 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 1036 insertions(+), 8 deletions(-) -- 2.0.0.rc2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev