[ofa-general] What are the valid values for SM LID ?

Kuchimanchi, Ramachandra ramachandra.kuchimanchi at qlogic.com
Fri Jul 13 03:41:48 PDT 2007


Hi,

If the sm_lid value from /sys/class/infiniband/mthca0/ports/1/sm_lid
is 0x0 (or /sys/class/infiniband/ipath0/ports/1/sm_lid is 0xffff) should
it be considered as an invalid value for an SM LID and should one wait
till it changes to some other value before using that SM LID value in MADs ?

The IB spec says that LID 0x0 is reserved and 0xFFFF is a permissive DLID
value. Does this mean that the SM can never have either 0x0 or 0xFFFF as
an LID ?

Sometimes I have noticed this issue with ibsrpdm when the sm_lid value is
set after some delay. If I run ibsrpdm immediately after doing a
"service openibd start", ibsrpdm does not give any output. This
is because, when ibsrpdm reads the sm_lid value it gets the value to be 0x0 on
mthca (0xffff on ipath) and when it uses it in the MADs, the MADs timeout.

Regards,
Ram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070713/c3d0056d/attachment.html>


More information about the general mailing list