diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2014-09-15 22:28:44 -0400 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-09-16 02:28:13 -0400 |
commit | 8c8b1b83fcdd0f05e1f66ed6f8a2e831d5d374a2 (patch) | |
tree | 639e2202b5ded18df0c38daabedcdeeb3e6c2482 /net/openvswitch/flow.h | |
parent | 83c8df26a3b654871c0503fcf6eac61777e12ea1 (diff) |
openvswitch: Use tun_key only for egress tunnel path.
Currently tun_key is used for passing tunnel information
on ingress and egress path, this cause confusion. Following
patch removes its use on ingress path make it egress only parameter.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
Diffstat (limited to 'net/openvswitch/flow.h')
-rw-r--r-- | net/openvswitch/flow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/openvswitch/flow.h b/net/openvswitch/flow.h index 251789b6ec45..3869a540365c 100644 --- a/net/openvswitch/flow.h +++ b/net/openvswitch/flow.h | |||
@@ -187,7 +187,8 @@ void ovs_flow_stats_get(const struct sw_flow *, struct ovs_flow_stats *, | |||
187 | void ovs_flow_stats_clear(struct sw_flow *); | 187 | void ovs_flow_stats_clear(struct sw_flow *); |
188 | u64 ovs_flow_used_time(unsigned long flow_jiffies); | 188 | u64 ovs_flow_used_time(unsigned long flow_jiffies); |
189 | 189 | ||
190 | int ovs_flow_key_extract(struct sk_buff *skb, struct sw_flow_key *key); | 190 | int ovs_flow_key_extract(struct ovs_key_ipv4_tunnel *tun_key, |
191 | struct sk_buff *skb, struct sw_flow_key *key); | ||
191 | /* Extract key from packet coming from userspace. */ | 192 | /* Extract key from packet coming from userspace. */ |
192 | int ovs_flow_key_extract_userspace(const struct nlattr *attr, | 193 | int ovs_flow_key_extract_userspace(const struct nlattr *attr, |
193 | struct sk_buff *skb, | 194 | struct sk_buff *skb, |