Skip to contentSkip to conversation

opensm/osm_torus.c: torus routing should fail with VLCap 1 on switch external ports

PATCH In review Alex Netes 2 participants 2 messages Feb 4, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore

Alex Netes

author
#0 lore raw

PATCH 1/1 opensm/osm_torus.c: torus routing should fail with VLCap 1 on switch external ports

---
 opensm/osm_torus.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
opensm/osm_torus.c +5 -3
index e63cb40..757a32a 100644
@@ -7021,11 +7021,13 @@ bool verify_setup(struct torus *t, struct fabric *f)
 			"ERR 4E20: missing required torus size specification!\n");
 		goto out;
 	}
-	if (t->osm->subn.min_sw_data_vls < 2)
-		OSM_LOG(&t->osm->log, OSM_LOG_INFO,
-			"Warning: Too few data VLs to support torus routing "
+	if (t->osm->subn.min_sw_data_vls < 2) {
+		OSM_LOG(&t->osm->log, OSM_LOG_ERROR,
+			"ERR 4E48: Too few data VLs to support torus routing "
 			"without credit loops (have switchport %d need 2)\n",
 			(int)t->osm->subn.min_sw_data_vls);
+		goto out;
+	}
 	if (t->osm->subn.min_sw_data_vls < 4)
 		OSM_LOG(&t->osm->log, OSM_LOG_INFO,
 			"Warning: Too few data VLs to support torus routing "
Signature · 6 lines
1.7.11.7

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

A message that is not in the archive (sent off-list or not yet received): 20130204093644.GB13151-iQai9MGU/dze+A/[email protected]