openvswitch: Optimize recirc action.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 6 Nov 2014 14:55:14 +0000 (06:55 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 10 Nov 2014 02:58:44 +0000 (18:58 -0800)
OVS need to flow key for flow lookup in recic action. OVS
does key extract in recic action. Most of cases we could
use OVS_CB packet key directly and can avoid packet flow key
extract. SET action we can update flow-key along with packet
to keep it consistent. But there are some action like MPLS
pop which forces OVS to do flow-extract. In such cases we
can mark flow key as invalid so that subsequent recirc
action can do full flow extract.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
net/openvswitch/actions.c

Simple merge