[ofa-general] [PATCH v4] fix local port smlid
Sasha Khapyorsky
sashak at voltaire.com
Thu Mar 12 09:12:28 PDT 2009
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?
> 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