diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-06-13 14:11:32 -0400 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-06-14 18:09:12 -0400 |
commit | 93d8fd1514b6862c3370ea92be3f3b4216e0bf8f (patch) | |
tree | c46a46cf0d597a5fe63904dba90c8e50521f0c0f /net/openvswitch/flow.h | |
parent | b34df5e805a6e98cae0bc5bc80c1b52d9ff811de (diff) |
openvswitch: Simplify interface ovs_flow_metadata_from_nlattrs()
This is not functional change, this is just code cleanup.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/flow.h')
-rw-r--r-- | net/openvswitch/flow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/flow.h b/net/openvswitch/flow.h index 0875fde65b9c..2a83e2141f08 100644 --- a/net/openvswitch/flow.h +++ b/net/openvswitch/flow.h | |||
@@ -141,8 +141,8 @@ u64 ovs_flow_used_time(unsigned long flow_jiffies); | |||
141 | int ovs_flow_to_nlattrs(const struct sw_flow_key *, struct sk_buff *); | 141 | int ovs_flow_to_nlattrs(const struct sw_flow_key *, struct sk_buff *); |
142 | int ovs_flow_from_nlattrs(struct sw_flow_key *swkey, int *key_lenp, | 142 | int ovs_flow_from_nlattrs(struct sw_flow_key *swkey, int *key_lenp, |
143 | const struct nlattr *); | 143 | const struct nlattr *); |
144 | int ovs_flow_metadata_from_nlattrs(u32 *priority, u32 *mark, u16 *in_port, | 144 | int ovs_flow_metadata_from_nlattrs(struct sw_flow *flow, |
145 | const struct nlattr *); | 145 | const struct nlattr *attr); |
146 | 146 | ||
147 | #define MAX_ACTIONS_BUFSIZE (16 * 1024) | 147 | #define MAX_ACTIONS_BUFSIZE (16 * 1024) |
148 | #define TBL_MIN_BUCKETS 1024 | 148 | #define TBL_MIN_BUCKETS 1024 |