[ofw][patch] port_info record

Hal Rosenstock halr at obsidianresearch.com
Wed Aug 27 15:15:55 PDT 2008


Hefty, Sean wrote:
>> When SM configures port to have more than one LID (according to LID mask
>> control), the query of IB_MAD_ATTR_PORTINFO_RECORD fails. That's because
>> of IB switch has more information to answer, but query configured as
>> IB_MAD_METHOD_GET. So IB switch return error. Consequently, port becomes
>> inactive (see ipoib_port_up) and Network properties show adapter as
>> disconnected.
>> Setting  info.method = IB_MAD_METHOD_GETTABLE fixed the problem.
>>     
>
> I still don't understand the problem.  Why does a PortInfo Get method to the SA fail, versus just returning a single PortInfoRecord? 
Depending on the exact query, if the SA had more than 1 record to return 
to a get, it would return an error status (ERR_TOO_MANY_RECORDS). I 
presume that is what is meant. So one question at least in my mind might 
be whether the query can be tightened up so that wouldn't occur.

-- Hal
>  And when you say 'IB switch', do you mean the SA (embedded in a switch)?
>
> Is the issue really with IPoIB, rather than the SA?
>
> - Sean
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>   




More information about the ofw mailing list