All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opensm/osm_torus.c: Increase PORTGRP_MAX_PORTS define
@ 2014-12-17  9:28 Alex Netes
       [not found] ` <1418808490-27687-1-git-send-email-alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Netes @ 2014-12-17  9:28 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Hal Rosenstock; +Cc: Alex Netes

Torus-2QoS fails to configure fabric with more than 16 HCAs.
This patch extends PORTGRP_MAX_PORTS to be 34. Maximal practical ports
per switch - 2 reserved ports (minimal of needed ports for switch to
switch connections in 2D Torus).

Signed-off-by: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 opensm/osm_torus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/osm_torus.c b/opensm/osm_torus.c
index 330f55d..b01f69f 100644
--- a/opensm/osm_torus.c
+++ b/opensm/osm_torus.c
@@ -59,7 +59,7 @@
 #include <opensm/osm_opensm.h>
 
 #define TORUS_MAX_DIM        3
-#define PORTGRP_MAX_PORTS    16
+#define PORTGRP_MAX_PORTS    34
 #define SWITCH_MAX_PORTGRPS  (1 + 2 * TORUS_MAX_DIM)
 #define DEFAULT_MAX_CHANGES  32
 
-- 
1.7.1

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-17 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-17  9:28 [PATCH] opensm/osm_torus.c: Increase PORTGRP_MAX_PORTS define Alex Netes
     [not found] ` <1418808490-27687-1-git-send-email-alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-12-17 10:46   ` Hal Rosenstock
     [not found]     ` <54915F10.4000205-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-12-17 10:59       ` Alex Netes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.