From patchwork Thu Apr 28 23:16:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hefty, Sean" X-Patchwork-Id: 740071 X-Patchwork-Delegate: ira.weiny@intel.com 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 p3SNGlOs012316 for ; Thu, 28 Apr 2011 23:16:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756604Ab1D1XQq (ORCPT ); Thu, 28 Apr 2011 19:16:46 -0400 Received: from mga11.intel.com ([192.55.52.93]:21474 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755562Ab1D1XQp convert rfc822-to-8bit (ORCPT ); Thu, 28 Apr 2011 19:16:45 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 28 Apr 2011 16:16:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,283,1301900400"; d="scan'208";a="685638882" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by fmsmga002.fm.intel.com with ESMTP; 28 Apr 2011 16:16:45 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.226.10) by orsmsx602.amr.corp.intel.com (10.22.226.211) with Microsoft SMTP Server (TLS) id 8.2.255.0; Thu, 28 Apr 2011 16:16:45 -0700 Received: from orsmsx501.amr.corp.intel.com ([10.22.226.209]) by orsmsx605.amr.corp.intel.com ([10.22.226.10]) with mapi; Thu, 28 Apr 2011 16:16:44 -0700 From: "Hefty, Sean" To: "Hefty, Sean" , Ira Weiny , "linux-rdma (linux-rdma@vger.kernel.org)" CC: "Alex Netes (alexne@mellanox.com)" Date: Thu, 28 Apr 2011 16:16:43 -0700 Subject: [PATCH 2/2] libibmad: Fix trace table response Thread-Topic: [PATCH 2/2] libibmad: Fix trace table response Thread-Index: AcwF+lWuK6ImeJ2iQ96ODPJSDq8eeA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 28 Apr 2011 23:16:47 +0000 (UTC) A response to a get trace table request is a get table response. There is no 'get trace table response'. See IB spec 1.2.1, section 15.4.9. Signed-off-by: Sean Hefty --- include/infiniband/mad.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/infiniband/mad.h b/include/infiniband/mad.h index 2efa2a7..e630974 100755 --- a/include/infiniband/mad.h +++ b/include/infiniband/mad.h @@ -102,7 +102,7 @@ enum MAD_METHODS { IB_MAD_METHOD_GET_TABLE = UMAD_SA_METHOD_GET_TABLE, IB_MAD_METHOD_GET_TABLE_RESPONSE = UMAD_SA_METHOD_GET_TABLE_RESP, IB_MAD_METHOD_GET_TRACE_TABLE = UMAD_SA_METHOD_GET_TRACE_TABLE, - IB_MAD_METHOD_GET_TRACE_TABLE_RESPONSE = 0x93, /* Not in spec */ + IB_MAD_METHOD_GET_TRACE_TABLE_RESPONSE = UMAD_SA_METHOD_GET_TABLE_RESP, IB_MAD_METHOD_GETMULTI = UMAD_SA_METHOD_GET_MULTI, IB_MAD_METHOD_GETMULTI_RESPONSE = UMAD_SA_METHOD_GET_MULTI_RESP, IB_MAD_METHOD_DELETE = UMAD_SA_METHOD_DELETE,