]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited18552f530f3e5e70871d4c4f2596e599c4ec26
treed8bcca7ad36e26a911d81e06d4275c9eb4db20b8
parentb4678855d428db2e0928bc9a8bffec1cd3b9b41d
openvswitch: 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>
net/openvswitch/actions.c