datapath: Optimize recirc action.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 7 Aug 2014 22:46:19 +0000 (15:46 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 8 Aug 2014 20:31:08 +0000 (13:31 -0700)
commite16138e224014922e478b4789359b1746858d1f9
treedfbc1bc9dd5bfab9a984c64fe91033b416f94cdf
parent694ffeccf133d20765107ac2738e325ae9b669d3
datapath: Optimize recirc action.

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>
datapath/actions.c