datapath: Raise maximum ports per datapath from 256 to 1024.
authorBen Pfaff <blp@nicira.com>
Fri, 11 Sep 2009 21:32:50 +0000 (14:32 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 14 Sep 2009 16:26:37 +0000 (09:26 -0700)
This makes the datapath port limit the same as the Linux bridge module
port limit.

CC: Keith Amidon <keith@nicira.com>
datapath/datapath.h

index 1fe8fac..eee1bbf 100644 (file)
@@ -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*)))