From patchwork Fri Nov 6 20:35:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 58101 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 nA6KaotP027267 for ; Fri, 6 Nov 2009 20:36:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759814AbZKFUgY (ORCPT ); Fri, 6 Nov 2009 15:36:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759844AbZKFUgY (ORCPT ); Fri, 6 Nov 2009 15:36:24 -0500 Received: from qmta11.westchester.pa.mail.comcast.net ([76.96.59.211]:49458 "EHLO QMTA11.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759814AbZKFUgW (ORCPT ); Fri, 6 Nov 2009 15:36:22 -0500 Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA11.westchester.pa.mail.comcast.net with comcast id 1w211d00L0EZKEL5BwcU68; Fri, 06 Nov 2009 20:36:28 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA01.westchester.pa.mail.comcast.net with comcast id 1wcU1d0040hNrtn3MwcUvV; Fri, 06 Nov 2009 20:36:28 +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 nA6KZeRx013505; Fri, 6 Nov 2009 15:35:45 -0500 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id nA6KZJ60013473; Fri, 6 Nov 2009 15:35:19 -0500 Date: Fri, 6 Nov 2009 15:35:19 -0500 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] libibmad: Add support for new PortInfo:McastPkeyTrapSuppressionEnabled field Message-ID: <20091106203519.GB13461@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},