Skip to contentSkip to conversation

Fix ibdatacounters

PATCH/infiniband-diags Applied Jason Gunthorpe 2 participants 2 messages Mar 22, 2011 – Mar 25, 2011 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

Commit fb3b1e753d527faa08f863a55f7f8392fb01f2ed switched the call to ibdatacounts with ibcheckerrs which breaks the point of the script, put it back.

---
 scripts/ibdatacounters.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/ibdatacounters.in +1 -1
index 1abaaf2..8fad62e 100644
@@ -85,7 +85,7 @@ function check_node(lid, port)
 		print "\n# " ntype ": nodeguid 0x" nodeguid " failed"
 		return 1;
 	}
-	return system("'$IBPATH'/ibcheckerrs '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
+	return system("'$IBPATH'/ibdatacounts '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
 }
 
 /^Ca/ || /^Switch/ || /^Rt/ {
Signature · 6 lines
1.7.1

--
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
Applied
#2 lore raw
In reply to a message not in the archive

Thanks, applied.
Ira

Quoted 25 lines · On Tue, 22 Mar 2011 15:11:45 -0700 Jason Gunthorpe…

Commit fb3b1e753d527faa08f863a55f7f8392fb01f2ed switched the call to ibdatacounts with ibcheckerrs which breaks the point of the script, put it back.

---
 scripts/ibdatacounters.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/ibdatacounters.in +1 -1
index 1abaaf2..8fad62e 100644
@@ -85,7 +85,7 @@ function check_node(lid, port)
 		print "\n# " ntype ": nodeguid 0x" nodeguid " failed"
 		return 1;
 	}
-	return system("'$IBPATH'/ibcheckerrs '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
+	return system("'$IBPATH'/ibdatacounts '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
 }
 
 /^Ca/ || /^Switch/ || /^Rt/ {
Signature · 1 line
1.7.1
Signature · 9 lines
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
925-423-8008
[email protected]
--
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