[ofa-general] [PATCH] ibsim/sim.h: Fix NodeDescription size

Hal Rosenstock hrosenstock at xsigo.com
Sun May 4 14:01:07 PDT 2008


ibsim/sim.h: Fix NodeDescription size so can have maximum size
NodeDescription per IBA spec rather than truncating them

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

diff --git a/ibsim/sim.h b/ibsim/sim.h
index bea136a..dbf1220 100644
--- a/ibsim/sim.h
+++ b/ibsim/sim.h
@@ -67,7 +67,7 @@
 
 #define NODEIDBASE	20
 #define NODEPREFIX	20
-#define NODEIDLEN	(NODEIDBASE+NODEPREFIX+1)
+#define NODEIDLEN	65
 #define ALIASLEN 	40
 
 #define MAXHOPS 16





More information about the general mailing list