diff options
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 9b75617ca4e0..d92e22a638cf 100644 --- a/net/openvswitch/flow.h +++ b/net/openvswitch/flow.h | |||
@@ -43,7 +43,7 @@ struct sw_flow_actions { | |||
43 | struct sw_flow_key { | 43 | struct sw_flow_key { |
44 | struct { | 44 | struct { |
45 | u32 priority; /* Packet QoS priority. */ | 45 | u32 priority; /* Packet QoS priority. */ |
46 | u16 in_port; /* Input switch port (or USHRT_MAX). */ | 46 | u16 in_port; /* Input switch port (or DP_MAX_PORTS). */ |
47 | } phy; | 47 | } phy; |
48 | struct { | 48 | struct { |
49 | u8 src[ETH_ALEN]; /* Ethernet source address. */ | 49 | u8 src[ETH_ALEN]; /* Ethernet source address. */ |
@@ -161,6 +161,7 @@ int ovs_flow_from_nlattrs(struct sw_flow_key *swkey, int *key_lenp, | |||
161 | int ovs_flow_metadata_from_nlattrs(u32 *priority, u16 *in_port, | 161 | int ovs_flow_metadata_from_nlattrs(u32 *priority, u16 *in_port, |
162 | const struct nlattr *); | 162 | const struct nlattr *); |
163 | 163 | ||
164 | #define MAX_ACTIONS_BUFSIZE (16 * 1024) | ||
164 | #define TBL_MIN_BUCKETS 1024 | 165 | #define TBL_MIN_BUCKETS 1024 |
165 | 166 | ||
166 | struct flow_table { | 167 | struct flow_table { |