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

Hal Rosenstock halr at voltaire.com
Fri Jul 13 06:31:41 PDT 2007


Ram,

On Fri, 2007-07-13 at 06:41, Kuchimanchi, Ramachandra wrote:
> 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.

Those local values indicate the SM has not yet initialized the SMLID on
those ports. Is your SM running ? Are those ports active when you run
ibsrpdm ?

-- Hal

> Regards,
> Ram
> 
> 
> 
> ______________________________________________________________________
> 
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general




More information about the general mailing list