aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/flow.h
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2014-03-27 15:35:23 -0400
committerJesse Gross <jesse@nicira.com>2014-05-16 16:40:29 -0400
commit23dabf88abb48a866fdb19ee08ebcf1ddd9b1840 (patch)
treecc835b9d88c36d7b3b0c296fb2617f9971c5bd7e /net/openvswitch/flow.h
parent8c63ff09bddf944ab0033fea97aacfadfffa76de (diff)
openvswitch: Remove 5-tuple optimization.
The 5-tuple optimization becomes unnecessary with a later per-NUMA node stats patch. Remove it first to make the changes easier to grasp. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/flow.h')
-rw-r--r--net/openvswitch/flow.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/openvswitch/flow.h b/net/openvswitch/flow.h
index 2d770e28a3a3..9c0dd8aa3117 100644
--- a/net/openvswitch/flow.h
+++ b/net/openvswitch/flow.h
@@ -155,14 +155,6 @@ struct flow_stats {
155 __be16 tcp_flags; /* Union of seen TCP flags. */ 155 __be16 tcp_flags; /* Union of seen TCP flags. */
156}; 156};
157 157
158struct sw_flow_stats {
159 bool is_percpu;
160 union {
161 struct flow_stats *stat;
162 struct flow_stats __percpu *cpu_stats;
163 };
164};
165
166struct sw_flow { 158struct sw_flow {
167 struct rcu_head rcu; 159 struct rcu_head rcu;
168 struct hlist_node hash_node[2]; 160 struct hlist_node hash_node[2];
@@ -172,7 +164,7 @@ struct sw_flow {
172 struct sw_flow_key unmasked_key; 164 struct sw_flow_key unmasked_key;
173 struct sw_flow_mask *mask; 165 struct sw_flow_mask *mask;
174 struct sw_flow_actions __rcu *sf_acts; 166 struct sw_flow_actions __rcu *sf_acts;
175 struct sw_flow_stats stats; 167 struct flow_stats __percpu *stats;
176}; 168};
177 169
178struct arp_eth_header { 170struct arp_eth_header {