ofproto-dpif: Fix MPLS multiple Push pop action.
authorPravin B Shelar <pshelar@nicira.com>
Tue, 25 Nov 2014 15:39:20 +0000 (07:39 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Thu, 18 Dec 2014 18:38:56 +0000 (10:38 -0800)
commit5af43325c9f78cd4617ee3dc5c7aa746e9c2a2c0
treeaec6d7141edd084132ab28496d0364e177b879bd
parent43e2a6214ed44d88009c2b38765abe7a490c0e47
ofproto-dpif: Fix MPLS multiple Push pop action.

vSwitchd does not generate correct MPLS actions for multiple
MPLS push or pop action.
Datapath can handle multiple push action for in single action list.
But for after first MPLS pop it needs to recirculate packet to
refill packet key. Following patch fixes it accordingly.

Reported-by: Stefano Salsano <stefano.salsano@uniroma2.it>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Tested-by: Pier Luigi Ventre <pl.ventre@gmail.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/flow.c
ofproto/ofproto-dpif-xlate.c
tests/automake.mk
tests/mpls-xlate.at [new file with mode: 0644]
tests/odp.at
tests/ofproto-dpif.at
tests/testsuite.at