Hey Sasha,

Didn't know what some error messages really meant.  So added some
detail.

Al

-- 
Albert Chu
[EMAIL PROTECTED]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
>From 86e61a0c7c450b8f0f449f95d2903b3cc5077b6b Mon Sep 17 00:00:00 2001
From: Albert Chu <[EMAIL PROTECTED]>
Date: Tue, 7 Oct 2008 09:57:56 -0700
Subject: [PATCH] clarify error messages


Signed-off-by: Albert Chu <[EMAIL PROTECTED]>
---
 infiniband-diags/src/perfquery.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/infiniband-diags/src/perfquery.c b/infiniband-diags/src/perfquery.c
index a596a59..c07acb2 100644
--- a/infiniband-diags/src/perfquery.c
+++ b/infiniband-diags/src/perfquery.c
@@ -219,10 +219,10 @@ main(int argc, char **argv)
 			IBERROR("smp query nodeinfo failed");
 		node_type = mad_get_field(data, 0, IB_NODE_TYPE_F);
 		if (node_type != IB_NODE_CA)    /* NodeType other than CA ? */
-			IBERROR("smp query nodeinfo: Node type not CA");
+			IBERROR("smp query nodeinfo: Node type not CA, cannot simulate AllPortSelect");
 		mad_decode_field(data, IB_NODE_NPORTS_F, &num_ports);
 		if (num_ports != 1)
-			IBERROR("smp query nodeinfo: %d ports; only 1 supported currently", num_ports);
+			IBERROR("smp query nodeinfo: %d ports; only 1 supported for AllPortSelect simulation", num_ports);
 		port = num_ports;
 	}
 
-- 
1.5.4.5

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to