From patchwork Thu May 6 18:34:46 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Heinz X-Patchwork-Id: 97425 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o46IYosh010871 for ; Thu, 6 May 2010 18:34:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752785Ab0EFSeu (ORCPT ); Thu, 6 May 2010 14:34:50 -0400 Received: from avexcashub1.qlogic.com ([198.70.193.61]:30050 "EHLO avexcashub1.qlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751181Ab0EFSet (ORCPT ); Thu, 6 May 2010 14:34:49 -0400 Received: from avexcashub2.qlogic.org (10.1.4.116) by avexcashub1.qlogic.org (10.1.4.161) with Microsoft SMTP Server (TLS) id 8.1.375.2; Thu, 6 May 2010 11:34:48 -0700 Received: from MNEXCASHUB1.qlogic.org (10.33.2.103) by avexcashub2.qlogic.org (10.1.4.162) with Microsoft SMTP Server (TLS) id 8.1.375.2; Thu, 6 May 2010 11:34:49 -0700 Received: from MNEXMB1.qlogic.org ([fe80::c6b:fda:afec:79a1]) by MNEXCASHUB1.qlogic.org ([::1]) with mapi; Thu, 6 May 2010 13:34:48 -0500 From: Mike Heinz To: Mike Heinz , Sasha Khapyorsky , "linux-rdma@vger.kernel.org" , "ewg@openfabrics.org" Date: Thu, 6 May 2010 13:34:46 -0500 Subject: RE: [PATCH] management: adding mad_dump_fields to libibmad Thread-Topic: [PATCH] management: adding mad_dump_fields to libibmad Thread-Index: AcrtSb9AJN60kNkbS62MpePZ8Rjs7QAAGm9w Message-ID: <4C2744E8AD2982428C5BFE523DF8CDCB49A4740CDC@MNEXMB1.qlogic.org> References: <4C2744E8AD2982428C5BFE523DF8CDCB49A4740CD8@MNEXMB1.qlogic.org> In-Reply-To: <4C2744E8AD2982428C5BFE523DF8CDCB49A4740CD8@MNEXMB1.qlogic.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 06 May 2010 18:34:51 +0000 (UTC) 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) {