summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2014-05-27 18:15:59 -0700
committerJesse Gross <jesse@nicira.com>2014-06-19 18:33:28 -0700
commitf0cd669f192495472cd7e76d02b48afe9c3db47c (patch)
tree63e741fef5071c720acaae12867fd4110039cb23 /include/linux
parent9cef26ac6a71aa9cb02f1f515a2f6038e02ae9c7 (diff)
downloadopenvswitch-f0cd669f192495472cd7e76d02b48afe9c3db47c.tar.gz
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/openvswitch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h
index d7f85ffa8..33423add1 100644
--- a/include/linux/openvswitch.h
+++ b/include/linux/openvswitch.h
@@ -320,7 +320,7 @@ enum ovs_key_attr {
OVS_KEY_ATTR_RECIRC_ID, /* u32 recirc id */
#ifdef __KERNEL__
/* Only used within kernel data path. */
- OVS_KEY_ATTR_IPV4_TUNNEL, /* struct ovs_key_ipv4_tunnel */
+ OVS_KEY_ATTR_TUNNEL_INFO, /* struct ovs_tunnel_info */
#endif
/* Experimental */