On Wed, Jul 15, 2009 at 7:06 PM, Sasha Khapyorsky<[email protected]> wrote:
> On 10:04 Tue 14 Jul     , Hal Rosenstock wrote:
>>
>> Signed-off-by: Hal Rosenstock <[email protected]>
>> ---
>> diff --git a/opensm/opensm/osm_perfmgr.c b/opensm/opensm/osm_perfmgr.c
>> index ecfdbda..0437d47 100644
>> --- a/opensm/opensm/osm_perfmgr.c
>> +++ b/opensm/opensm/osm_perfmgr.c
>> @@ -376,7 +376,8 @@ static ib_api_status_t perfmgr_send_pc_mad(osm_perfmgr_t 
>> * perfmgr,
>>       port_counter = (ib_port_counters_t *) & pm_mad->data;
>>       memset(port_counter, 0, sizeof(*port_counter));
>>       port_counter->port_select = port;
>> -     port_counter->counter_select = 0xFFFF;
>> +     if (mad_method == IB_MAD_METHOD_SET)
>> +             port_counter->counter_select = 0xFFFF;
>
> Could you explain why?

CounterSelect is only valid on a Set.

-- Hal

>
> Sasha
>
>>
>>       p_madw->mad_addr.dest_lid = dest_lid;
>>       p_madw->mad_addr.addr_type.gsi.remote_qp = dest_qp;
>>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to