From patchwork Fri Nov 6 14:10:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 58046 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA6EF3or019247 for ; Fri, 6 Nov 2009 14:15:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757351AbZKFOO5 (ORCPT ); Fri, 6 Nov 2009 09:14:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757003AbZKFOO5 (ORCPT ); Fri, 6 Nov 2009 09:14:57 -0500 Received: from qmta02.westchester.pa.mail.comcast.net ([76.96.62.24]:42348 "EHLO QMTA02.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756026AbZKFOO4 (ORCPT ); Fri, 6 Nov 2009 09:14:56 -0500 Received: from OMTA20.westchester.pa.mail.comcast.net ([76.96.62.71]) by QMTA02.westchester.pa.mail.comcast.net with comcast id 1pBG1d0071YDfWL52qF2mR; Fri, 06 Nov 2009 14:15:02 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA20.westchester.pa.mail.comcast.net with comcast id 1qLg1d00Q0hNrtn3gqLggC; Fri, 06 Nov 2009 14:20:40 +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 nA6EEI3C019741; Fri, 6 Nov 2009 09:14:24 -0500 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id nA6EAYdT019698; Fri, 6 Nov 2009 09:10:34 -0500 Date: Fri, 6 Nov 2009 09:10:34 -0500 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] libibmad: Add support for PortInfo:McastPkeyTrapSuppressionEnabled Message-ID: <20091106141034.GC19678@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/libibmad/include/infiniband/mad.h b/libibmad/include/infiniband/mad.h index b82b0d5..ed8fd71 100644 --- a/libibmad/include/infiniband/mad.h +++ b/libibmad/include/infiniband/mad.h @@ -357,6 +357,7 @@ enum MAD_FIELDS { IB_PORT_QKEY_VIOL_F, IB_PORT_GUID_CAP_F, IB_PORT_CLIENT_REREG_F, + IB_PORT_MCAST_PKEY_SUPR_ENAB_F, IB_PORT_SUBN_TIMEOUT_F, IB_PORT_RESP_TIME_VAL_F, IB_PORT_LOCAL_PHYS_ERR_F, diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c index 98a0c60..c2f9585 100644 --- a/libibmad/src/fields.c +++ b/libibmad/src/fields.c @@ -162,6 +162,7 @@ static const ib_field_t ib_mad_f[] = { {BITSOFFS(384, 16), "QkeyViolations", mad_dump_uint}, {BITSOFFS(400, 8), "GuidCap", mad_dump_uint}, {BITSOFFS(408, 1), "ClientReregister", mad_dump_uint}, + {BITSOFFS(409, 1), "McastPkeyTrapSuppressionEnabled", mad_dump_uint}, {BITSOFFS(411, 5), "SubnetTimeout", mad_dump_uint}, {BITSOFFS(419, 5), "RespTimeVal", mad_dump_uint}, {BITSOFFS(424, 4), "LocalPhysErr", mad_dump_uint},