support MFT for switches with up to 48 ports

Signed-off-by: Eli Dorfman <e...@voltaire.com>
---
 ibsim/sim.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ibsim/sim.h b/ibsim/sim.h
index 5a8a92f..0de7fdc 100644
--- a/ibsim/sim.h
+++ b/ibsim/sim.h
@@ -45,8 +45,8 @@
 #define MAXLINEARCAP   (30*1024)
 #define MAXMCASTCAP    1024
 #define LASTBLOCK32    (MAXMCASTCAP/32-1)
-// NUMBEROFPORTMASK means that 32port switches could only be build
-#define        NUMBEROFPORTMASK 2
+// NUMBEROFPORTMASK means that 48port switches could only be build
+#define        NUMBEROFPORTMASK 3
 #define LASTPORTMASK   (NUMBEROFPORTMASK-1)
 // linkwidth == 4X - must be one width only 1,2 or 8
 #define LINKWIDTH_1x        1
-- 
1.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to