[ofa-general] [PATCH] ibsim/sim.h: Allow max ports based on 36 port switches

Hal Rosenstock hrosenstock at xsigo.com
Wed Jun 11 12:42:19 PDT 2008


ibsim/sim.h: Allow max ports based on 36 port switches

Signed-off-by: Hal Rosenstock <hal at xsigo.com>

diff --git a/ibsim/sim.h b/ibsim/sim.h
index a795ded..936bb85
--- a/ibsim/sim.h
+++ b/ibsim/sim.h
@@ -40,7 +40,7 @@
 
 #define MAXNETNODES	2048
 #define MAXNETSWITCHS	256
-#define MAXNETPORTS	(MAXNETSWITCHS*24+MAXNETNODES*2)
+#define MAXNETPORTS	(MAXNETSWITCHS*36+MAXNETNODES*2)
 #define MAXNETALIASES	MAXNETPORTS
 
 #define MAXLINEARCAP	(30*1024)





More information about the general mailing list