projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a0e34
)
datapath: Raise maximum ports per datapath from 256 to 1024.
author
Ben Pfaff
<blp@nicira.com>
Fri, 11 Sep 2009 21:32:50 +0000
(14:32 -0700)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/datapath/datapath.h
b/datapath/datapath.h
index 1fe8facaf6c69919635df34c7ab1e9655c2b6b4c..eee1bbfc585f1cf38aef4fca9f230077365518ab 100644
(file)
--- 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*)))