Signed-off-by: Hal Rosenstock <[email protected]>
Signed-off-by: Alex Netes <[email protected]>
---
opensm/osm_torus.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/opensm/osm_torus.c b/opensm/osm_torus.c
index e63cb40..757a32a 100644
--- a/opensm/osm_torus.c
+++ b/opensm/osm_torus.c
@@ -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 "
--
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