aboutsummaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-09-11 14:32:50 -0700
committerBen Pfaff <blp@nicira.com>2009-09-14 09:26:37 -0700
commit5eab9abcd3799de1117f4b2dfb9b2ec5e1cf963e (patch)
tree9d39549ef7f726f4f57710751b320200f8ba0967 /datapath
parent43a0e3476d94eccd16f7c90d1fb23aea10574a25 (diff)
datapath: Raise maximum ports per datapath from 256 to 1024.
This makes the datapath port limit the same as the Linux bridge module port limit. CC: Keith Amidon <keith@nicira.com>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/datapath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/datapath.h b/datapath/datapath.h
index 1fe8faca..eee1bbfc 100644
--- a/datapath/datapath.h
+++ b/datapath/datapath.h
@@ -25,7 +25,7 @@
* then this should go into include/linux/if_vlan.h. */
#define VLAN_PCP_MASK 0xe000
-#define DP_MAX_PORTS 256
+#define DP_MAX_PORTS 1024
#define DP_MAX_GROUPS 16
#define DP_L2_BITS (PAGE_SHIFT - ilog2(sizeof(struct dp_bucket*)))