***SPAM*** Re: [ofa-general] [PATCH v4] fix local port smlid

Eli Dorfman (Voltaire) dorfman.eli at gmail.com
Mon Mar 16 01:27:03 PDT 2009


Sasha Khapyorsky wrote:
> On 17:58 Thu 12 Mar     , Eli Dorfman (Voltaire) wrote:
>>> Instead of touching port_info I would suggest to setup destination lid
>>> using smport which you already have:
>>>
>>> 	madw->mad_addr.dest_lid = smport->p_physp->port_info.base_lid;
>>>
>> Local standby SM is polling the master SM, so if for some reason the master 
>> decides to relinquish mastership then local SM will rediscover the fabric and
>> find the new SM.
> 
> Ok. So?

Do you want another patch or you'll fix it locally?

Eli
> 
>> Also, it is better to update portinfo in case others will attempt to use pi->master_sm_lid.
> 
> Using outdated PortInfo (and when SM is in Stanby it *is* outdated) is
> an error, so nobody should use it.
> 
> Sasha




More information about the general mailing list