RE: [PATCHv2] libibmad: Add new fields for SM:PortInfoExtended and for PM:PortExtendedSpeedsCounters

2014-11-09 Thread Weiny, Ira
> On 11/8/2014 9:29 AM, Weiny, Ira wrote: > >> --- a/src/fields.c > >> > +++ b/src/fields.c > >> > @@ -949,8 +949,42 @@ static const ib_field_t ib_mad_f[] = { > >> > {480, 32, "Counter14", mad_dump_uint}, > >> > {0, 0}, /* IB_PSR_LAST_F */ > >> > > >> > -{0

Re: [PATCHv2] libibmad: Add new fields for SM:PortInfoExtended and for PM:PortExtendedSpeedsCounters

2014-11-09 Thread Dan Ben-Yosef
Hi Ira, 1. Please see that for PortExtendedSpeedsCounters, when RSFEC is disabled, we'll use the old enums for the attribute PortExtendedSpeedsCounters (please see in line 817 in include/infiniband/mad.h) but when RSFEC is enabled we'll use this patch new enums. Moreover we can print the fields dif

Re: [PATCHv2] libibmad: Add new fields for SM:PortInfoExtended and for PM:PortExtendedSpeedsCounters

2014-11-08 Thread Hal Rosenstock
On 11/8/2014 9:29 AM, Weiny, Ira wrote: >> --- a/src/fields.c >> > +++ b/src/fields.c >> > @@ -949,8 +949,42 @@ static const ib_field_t ib_mad_f[] = { >> >{480, 32, "Counter14", mad_dump_uint}, >> >{0, 0}, /* IB_PSR_LAST_F */ >> > >> > - {0, 0} /* IB_FIELD

RE: [PATCHv2] libibmad: Add new fields for SM:PortInfoExtended and for PM:PortExtendedSpeedsCounters

2014-11-08 Thread Weiny, Ira
> + > + /* > + * PortExtendedSpeedsCounters RSFEC active fields > + */ Use IB_PESC_RSFEC_FIRST_F and then set IB_PESC_RSFEC_PORT_SELECT_F to that. > + IB_PESC_RSFEC_PORT_SELECT_F, > + IB_PESC_RSFEC_COUNTER_SELECT_F, > + IB_PESC_RSFEC_SYNC_HDR_ERR_CTR_F, > + IB_PESC_