]> git.proxmox.com Git - mirror_ovs.git/commit - datapath/actions.c
datapath: Wrap struct ovs_key_ipv4_tunnel in a new structure.
authorJesse Gross <jesse@nicira.com>
Wed, 28 May 2014 01:15:59 +0000 (18:15 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 20 Jun 2014 01:33:28 +0000 (18:33 -0700)
commitf0cd669f192495472cd7e76d02b48afe9c3db47c
tree63e741fef5071c720acaae12867fd4110039cb23
parent9cef26ac6a71aa9cb02f1f515a2f6038e02ae9c7
datapath: Wrap struct ovs_key_ipv4_tunnel in a new structure.

Currently, the flow information that is matched for tunnels and
the tunnel data passed around with packets is the same. However,
as additional information is added this is not necessarily desirable,
as in the case of pointers.

This adds a new structure for tunnel metadata which currently contains
only the existing struct. This change is purely internal to the kernel
since the current OVS_KEY_ATTR_IPV4_TUNNEL is simply a compressed version
of OVS_KEY_ATTR_TUNNEL that is translated at flow setup.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
12 files changed:
datapath/actions.c
datapath/datapath.c
datapath/datapath.h
datapath/flow.c
datapath/flow.h
datapath/flow_netlink.c
datapath/vport-gre.c
datapath/vport-lisp.c
datapath/vport-vxlan.c
datapath/vport.c
datapath/vport.h
include/linux/openvswitch.h