From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ira Weiny Subject: Re: [PATCH] libibmad/fields.c: Change all PortCounter names to match the Specification Date: Wed, 8 Sep 2010 12:12:06 -0700 Message-ID: <20100908121206.81c19f94.weiny2@llnl.gov> References: <20100907193727.83c64672.weiny2@llnl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hal Rosenstock Cc: Sasha Khapyorsky , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On Wed, 8 Sep 2010 04:24:28 -0700 Hal Rosenstock wrote: > On Tue, Sep 7, 2010 at 10:37 PM, Ira Weiny wrote: > > > > From: Ira Weiny > > Date: Tue, 3 Aug 2010 10:40:56 -0700 > > Subject: [PATCH] libibmad/fields.c: Change all PortCounter names to= match the Specification > > > > Signed-off-by: Ira Weiny > > --- > > =A0libibmad/src/fields.c | =A0 32 ++++++++++++++++---------------- > > =A01 files changed, 16 insertions(+), 16 deletions(-) >=20 > A number of diag scripts need changing to go along with these field > name changes. Correct. New patch to follow, Ira >=20 > -- Hal >=20 > > diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c > > index a5a510a..d992065 100644 > > --- a/libibmad/src/fields.c > > +++ b/libibmad/src/fields.c > > @@ -246,24 +246,24 @@ static const ib_field_t ib_mad_f[] =3D { > > =A0 =A0 =A0 =A0 */ > > =A0 =A0 =A0 =A0{BITSOFFS(8, 8), "PortSelect", mad_dump_uint}, > > =A0 =A0 =A0 =A0{BITSOFFS(16, 16), "CounterSelect", mad_dump_hex}, > > - =A0 =A0 =A0 {BITSOFFS(32, 16), "SymbolErrors", mad_dump_uint}, > > - =A0 =A0 =A0 {BITSOFFS(48, 8), "LinkRecovers", mad_dump_uint}, > > - =A0 =A0 =A0 {BITSOFFS(56, 8), "LinkDowned", mad_dump_uint}, > > - =A0 =A0 =A0 {BITSOFFS(64, 16), "RcvErrors", mad_dump_uint}, > > - =A0 =A0 =A0 {BITSOFFS(80, 16), "RcvRemotePhysErrors", mad_dump_ui= nt}, > > - =A0 =A0 =A0 {BITSOFFS(96, 16), "RcvSwRelayErrors", mad_dump_uint}= , > > - =A0 =A0 =A0 {BITSOFFS(112, 16), "XmtDiscards", mad_dump_uint}, > > - =A0 =A0 =A0 {BITSOFFS(128, 8), "XmtConstraintErrors", mad_dump_ui= nt}, > > - =A0 =A0 =A0 {BITSOFFS(136, 8), "RcvConstraintErrors", mad_dump_ui= nt}, > > + =A0 =A0 =A0 {BITSOFFS(32, 16), "SymbolErrorCounter", mad_dump_uin= t}, > > + =A0 =A0 =A0 {BITSOFFS(48, 8), "LinkErrorRecoveryCounter", mad_dum= p_uint}, > > + =A0 =A0 =A0 {BITSOFFS(56, 8), "LinkDownedCounter", mad_dump_uint}= , > > + =A0 =A0 =A0 {BITSOFFS(64, 16), "PortRcvErrors", mad_dump_uint}, > > + =A0 =A0 =A0 {BITSOFFS(80, 16), "PortRcvRemotePhysicalErrors", mad= _dump_uint}, > > + =A0 =A0 =A0 {BITSOFFS(96, 16), "PortRcvSwitchRelayErrors", mad_du= mp_uint}, > > + =A0 =A0 =A0 {BITSOFFS(112, 16), "PortXmitDiscards", mad_dump_uint= }, > > + =A0 =A0 =A0 {BITSOFFS(128, 8), "PortXmitConstraintErrors", mad_du= mp_uint}, > > + =A0 =A0 =A0 {BITSOFFS(136, 8), "PortRcvConstraintErrors", mad_dum= p_uint}, > > =A0 =A0 =A0 =A0{BITSOFFS(144, 8), "CounterSelect2", mad_dump_hex}, > > - =A0 =A0 =A0 {BITSOFFS(152, 4), "LinkIntegrityErrors", mad_dump_ui= nt}, > > - =A0 =A0 =A0 {BITSOFFS(156, 4), "ExcBufOverrunErrors", mad_dump_ui= nt}, > > + =A0 =A0 =A0 {BITSOFFS(152, 4), "LocalLinkIntegrityErrors", mad_du= mp_uint}, > > + =A0 =A0 =A0 {BITSOFFS(156, 4), "ExcessiveBufferOverrunErrors", ma= d_dump_uint}, > > =A0 =A0 =A0 =A0{BITSOFFS(176, 16), "VL15Dropped", mad_dump_uint}, > > - =A0 =A0 =A0 {192, 32, "XmtData", mad_dump_uint}, > > - =A0 =A0 =A0 {224, 32, "RcvData", mad_dump_uint}, > > - =A0 =A0 =A0 {256, 32, "XmtPkts", mad_dump_uint}, > > - =A0 =A0 =A0 {288, 32, "RcvPkts", mad_dump_uint}, > > - =A0 =A0 =A0 {320, 32, "XmtWait", mad_dump_uint}, > > + =A0 =A0 =A0 {192, 32, "PortXmitData", mad_dump_uint}, > > + =A0 =A0 =A0 {224, 32, "PortRcvData", mad_dump_uint}, > > + =A0 =A0 =A0 {256, 32, "PortXmitPkts", mad_dump_uint}, > > + =A0 =A0 =A0 {288, 32, "PortRcvPkts", mad_dump_uint}, > > + =A0 =A0 =A0 {320, 32, "PortXmitWait", mad_dump_uint}, > > =A0 =A0 =A0 =A0{0, 0}, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* IB_PC_LAS= T_F */ > > > > =A0 =A0 =A0 =A0/* > > -- > > 1.5.4.5 > > > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-rdm= a" in > > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > > More majordomo info at =A0http://*vger.kernel.org/majordomo-info.ht= ml > > >=20 --=20 Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 weiny2-i2BcT+NCU+M@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html