Hey Sasha,

Dumb patch.  I realized the comments weren't in the right place.

Al

-- 
Albert Chu
[EMAIL PROTECTED]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
>From f09c9a379069c96b4281ff3144359c46b5c96f60 Mon Sep 17 00:00:00 2001
From: Albert Chu <[EMAIL PROTECTED]>
Date: Wed, 8 Oct 2008 17:28:54 -0700
Subject: [PATCH] fix perfquery comment


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

diff --git a/infiniband-diags/src/perfquery.c b/infiniband-diags/src/perfquery.c
index 69cbdf0..7674da4 100644
--- a/infiniband-diags/src/perfquery.c
+++ b/infiniband-diags/src/perfquery.c
@@ -261,13 +261,13 @@ main(int argc, char **argv)
 		 * to determine first and last port to query
 		 */
 
-		/* For now, support single port CAs */
 		if (smp_query(data, &portid, IB_ATTR_NODE_INFO, 0, 0) < 0)
 			IBERROR("smp query nodeinfo failed");
 		node_type = mad_get_field(data, 0, IB_NODE_TYPE_F);
 		mad_decode_field(data, IB_NODE_NPORTS_F, &num_ports);
 		/* If loop_ports not set, can only do the limited simulation we currently allow */
 		if (!loop_ports) {
+			/* For now, support single port CAs */
 			if (node_type != IB_NODE_CA)    /* NodeType other than CA ? */
 				IBERROR("smp query nodeinfo: Node type not CA, cannot simulate AllPortSelect");
 			if (num_ports != 1)
-- 
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