Hal, Thanks a lot for the information.
Regards, Ram -----Original Message----- From: Hal Rosenstock [mailto:[EMAIL PROTECTED] Sent: Fri 7/13/2007 8:30 PM To: Kuchimanchi, Ramachandra Cc: [email protected] Subject: RE: [ofa-general] What are the valid values for SM LID ? Ram, On Fri, 2007-07-13 at 10:58, Kuchimanchi, Ramachandra wrote: > Hal, > > > Where ? In ibsrpdm ? > > Yes or in general any one who is reading the SM LID value. > > Put another way, how do you know when the SM LID value in > /sys/infiniband/.../sm_lid is the correct value ? Is it > better to check that the value is neither 0x0 nor 0xffff ? > > Or do you go by the state of the port (armed or beyond as you > mentioned) > and then read the sm_lid value ? I think there are multiple algorithms that work: 1. If port state > armed (e.g. armed or active), SMLID is required to be valid 2. If (SMLID != 0xffff) && (SMLID != 0x0), SMLID is valid Maybe other algorithms too. (Same for LID too) -- Hal > Regards, > Ram > > > >
_______________________________________________ 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
