From patchwork Wed Dec 16 13:57:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 68365 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBI4ixoG005715 for ; Fri, 18 Dec 2009 04:46:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934007AbZLPN7O (ORCPT ); Wed, 16 Dec 2009 08:59:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934021AbZLPN7M (ORCPT ); Wed, 16 Dec 2009 08:59:12 -0500 Received: from qmta06.westchester.pa.mail.comcast.net ([76.96.62.56]:52190 "EHLO QMTA06.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934019AbZLPN7J (ORCPT ); Wed, 16 Dec 2009 08:59:09 -0500 Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA06.westchester.pa.mail.comcast.net with comcast id HoCq1d0040cZkys56pz8xE; Wed, 16 Dec 2009 13:59:08 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA10.westchester.pa.mail.comcast.net with comcast id Hpz71d00P0hNrtn3Wpz7fX; Wed, 16 Dec 2009 13:59:07 +0000 Received: from hal.comcast.net (localhost.localdomain [127.0.0.1]) by hal.comcast.net (8.14.3/8.14.3) with ESMTP id nBGDviDJ022521; Wed, 16 Dec 2009 08:57:49 -0500 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id nBGDvOBW022491; Wed, 16 Dec 2009 08:57:24 -0500 Date: Wed, 16 Dec 2009 08:57:24 -0500 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_vendor_ibumad.c: Add transaction ID to osm_vendor_send log message Message-ID: <20091216135724.GA22488@comcast.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c index 6927060..f360cf4 100644 --- a/opensm/libvendor/osm_vendor_ibumad.c +++ b/opensm/libvendor/osm_vendor_ibumad.c @@ -1074,8 +1074,8 @@ Resp: resp_expected ? p_bind->timeout : 0, p_bind->max_retries)) < 0) { OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 5430: " - "Send p_madw = %p of size %d failed %d (%m)\n", - p_madw, sent_mad_size, ret); + "Send p_madw = %p of size %d TID 0x%" PRIx64 " failed %d (%m)\n", + p_madw, sent_mad_size, cl_ntoh64(p_mad->trans_id), ret); if (resp_expected) { get_madw(p_vend, &p_mad->trans_id); /* remove from aging table */ p_madw->status = IB_ERROR;