diff mbox

management: adding mad_dump_fields to libibmad

Message ID 4C2744E8AD2982428C5BFE523DF8CDCB49A4740CDC@MNEXMB1.qlogic.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Michael Heinz May 6, 2010, 6:34 p.m. UTC
None
diff mbox

Patch

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)
 {