diff options
Diffstat (limited to 'net/openvswitch/flow.h')
-rw-r--r-- | net/openvswitch/flow.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/openvswitch/flow.h b/net/openvswitch/flow.h index 3e2cc2202d66..b830d5ff7af4 100644 --- a/net/openvswitch/flow.h +++ b/net/openvswitch/flow.h | |||
@@ -194,7 +194,7 @@ struct sw_flow_actions { | |||
194 | struct nlattr actions[]; | 194 | struct nlattr actions[]; |
195 | }; | 195 | }; |
196 | 196 | ||
197 | struct flow_stats { | 197 | struct sw_flow_stats { |
198 | u64 packet_count; /* Number of packets matched. */ | 198 | u64 packet_count; /* Number of packets matched. */ |
199 | u64 byte_count; /* Number of bytes matched. */ | 199 | u64 byte_count; /* Number of bytes matched. */ |
200 | unsigned long used; /* Last used time (in jiffies). */ | 200 | unsigned long used; /* Last used time (in jiffies). */ |
@@ -216,7 +216,7 @@ struct sw_flow { | |||
216 | struct cpumask cpu_used_mask; | 216 | struct cpumask cpu_used_mask; |
217 | struct sw_flow_mask *mask; | 217 | struct sw_flow_mask *mask; |
218 | struct sw_flow_actions __rcu *sf_acts; | 218 | struct sw_flow_actions __rcu *sf_acts; |
219 | struct flow_stats __rcu *stats[]; /* One for each CPU. First one | 219 | struct sw_flow_stats __rcu *stats[]; /* One for each CPU. First one |
220 | * is allocated at flow creation time, | 220 | * is allocated at flow creation time, |
221 | * the rest are allocated on demand | 221 | * the rest are allocated on demand |
222 | * while holding the 'stats[0].lock'. | 222 | * while holding the 'stats[0].lock'. |
@@ -270,6 +270,7 @@ void ovs_flow_stats_clear(struct sw_flow *); | |||
270 | u64 ovs_flow_used_time(unsigned long flow_jiffies); | 270 | u64 ovs_flow_used_time(unsigned long flow_jiffies); |
271 | 271 | ||
272 | int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key); | 272 | int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key); |
273 | int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key); | ||
273 | int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info, | 274 | int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info, |
274 | struct sk_buff *skb, | 275 | struct sk_buff *skb, |
275 | struct sw_flow_key *key); | 276 | struct sw_flow_key *key); |