From patchwork Thu Feb 17 21:35:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Heinz X-Patchwork-Id: 572221 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1HLZNZ2002423 for ; Thu, 17 Feb 2011 21:35:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754357Ab1BQVfX (ORCPT ); Thu, 17 Feb 2011 16:35:23 -0500 Received: from db3ehsobe006.messaging.microsoft.com ([213.199.154.144]:18450 "EHLO DB3EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752053Ab1BQVfW convert rfc822-to-8bit (ORCPT ); Thu, 17 Feb 2011 16:35:22 -0500 Received: from mail65-db3-R.bigfish.com (10.3.81.247) by DB3EHSOBE006.bigfish.com (10.3.84.26) with Microsoft SMTP Server id 14.1.225.8; Thu, 17 Feb 2011 21:35:20 +0000 Received: from mail65-db3 (localhost.localdomain [127.0.0.1]) by mail65-db3-R.bigfish.com (Postfix) with ESMTP id AA1FC1B85D4; Thu, 17 Feb 2011 21:35:20 +0000 (UTC) X-SpamScore: -2 X-BigFish: VPS-2(zzbb2cKzz1202hzzz2ei2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:avexcashub1.qlogic.com; RD:avexcashub2.qlogic.com; EFVD:NLI Received: from mail65-db3 (localhost.localdomain [127.0.0.1]) by mail65-db3 (MessageSwitch) id 1297978520244941_11909; Thu, 17 Feb 2011 21:35:20 +0000 (UTC) Received: from DB3EHSMHS011.bigfish.com (unknown [10.3.81.244]) by mail65-db3.bigfish.com (Postfix) with ESMTP id 308C719D0050; Thu, 17 Feb 2011 21:35:20 +0000 (UTC) Received: from avexcashub1.qlogic.com (198.70.193.64) by DB3EHSMHS011.bigfish.com (10.3.87.111) with Microsoft SMTP Server (TLS) id 14.1.225.8; Thu, 17 Feb 2011 21:35:11 +0000 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.436.0; Thu, 17 Feb 2011 13:35:09 -0800 Received: from MNEXMB1.qlogic.org ([fe80::8516:7839:9549:6996]) by MNEXCASHUB1.qlogic.org ([::1]) with mapi; Thu, 17 Feb 2011 15:35:07 -0600 From: Mike Heinz To: linux-rdma , "kliteyn@dev.mellanox.co.il" Date: Thu, 17 Feb 2011 15:35:06 -0600 Subject: IBUTILS PATCH SHOULD BE REMOVED: ibutils patch f3cf1f7c15ca24598fdf68b9ba71788b386b2f14 introduces syntax errors into ibdiagpath Thread-Topic: IBUTILS PATCH SHOULD BE REMOVED: ibutils patch f3cf1f7c15ca24598fdf68b9ba71788b386b2f14 introduces syntax errors into ibdiagpath Thread-Index: AcvEqy+mgW+v2ek9RcaJAdpxxIgZIAKPu18g Message-ID: <4C2744E8AD2982428C5BFE523DF8CDCB4A20B28910@MNEXMB1.qlogic.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-OriginatorOrg: qlogic.com 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 17 Feb 2011 21:35:24 +0000 (UTC) diff --git a/ibdiag/src/ibdebug.tcl b/ibdiag/src/ibdebug.tcl index 2f2c0af..b25bc8a 100644 --- a/ibdiag/src/ibdebug.tcl +++ b/ibdiag/src/ibdebug.tcl @@ -161,7 +161,7 @@ proc InitializeIBDIAG {} { global G argv argv0 InfoArgv INFO_LST MASK ### InitializeIBDIAG - Set general vars - set G(var:version.num) 1.5.5 + set G(var:version.num) 1.5.6 set G(var:tool.name) [file rootname [file tail $argv0]] set G(var:start.clock.seconds) [clock seconds] set G(var:desc.local.dev) "The Local Device" @@ -3903,7 +3903,7 @@ proc CheckPathQoS {paths} { foreach {tbl numEntries values} $lowHighCtrl { set overRangeVLs {} for {set i 0} {$i < $numEntries} {incr i} { - set entry [lindex $values $i] + set entry [lindex $values $i+1] set vl [expr [lindex $entry 0]] set weight [lindex $entry 1] if {$vl >= $opVLs} { @@ -3936,8 +3936,8 @@ proc CheckPathQoS {paths} { for {set i 0} {$i < 8} {incr i} { set sl0 [expr 2*$i] set sl1 [expr 2*$i + 1] - set vl0 [expr ([lindex $SL2VL $i] & 0xf0) >> 4] - set vl1 [expr [lindex $SL2VL $i] & 0xf] + set vl0 [expr ([lindex $SL2VL $i+1] & 0xf0) >> 4] + set vl1 [expr [lindex $SL2VL $i+1] & 0xf] if {($vl0 >= $opVLs) || ($vl0 == 15)} { set BLOCKED_SL($sl0) 1 lappend outOfRangeVLsSLs $sl0