[ewg] [PATCH] management: adding mad_dump_fields to libibmad

Mike Heinz michael.heinz at qlogic.com
Thu May 6 11:34:46 PDT 2010


Sasha asked that I re-submit the patches for perfquery in a slightly different format. This is the third of 3 patches.

This patch corrects the AllPortSelect error message that is generated by ibcheckerrors when used against switches that do not support that attribute.

Signed-off-by: Michael Heinz

--------- snip -------
diff --git a/infiniband-diags/scripts/ibcheckerrs.in b/infiniband-diags/scripts/ibcheckerrs.in
index 305379a..15bfd4a 100644
--- a/infiniband-diags/scripts/ibcheckerrs.in
+++ b/infiniband-diags/scripts/ibcheckerrs.in
@@ -155,6 +155,14 @@ nodename=`$IBPATH/smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:
 
 text="`eval $IBPATH/perfquery $ca_info $lid $portnum`"
 rv=$?
+if echo $text | grep -q 'AllPortSelect not supported'; then
+	if [ "$verbose" = "yes" ]; then
+		echo -n "Error check on lid $lid ($nodename) port $portname: "
+		green "AllPortSelect not supported"
+	fi
+	exit 0
+fi
+
 if echo "$text" | awk -v mono=$bw -v brief=$brief -F '[.:]*' '
 function blue(s)
 {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allportselect.patch
Type: application/octet-stream
Size: 689 bytes
Desc: allportselect.patch
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20100506/97b2b60b/attachment.obj>


More information about the ewg mailing list