[openib-general] [PATCH] IB/core: fix SM LID/LID change with client reregister set
Hal Rosenstock
halr at voltaire.com
Tue Aug 15 08:40:14 PDT 2006
On Tue, 2006-08-15 at 11:06, Jack Morgenstein wrote:
> On Tuesday 15 August 2006 17:42, Hal Rosenstock wrote:
> >
> > Are these two events equivalent ? e.g. does LID change require
> > reregistration ? (That's a potential overhead as well).
> >
>
> Before the change in mthca_mad.c (sm_snoop), the LID CHANGE event was
> generated in all cases where a SET port-info MAD was received.
>
> After the change, either LID_CHANGE -- or -- CLIENT_REREGISTER is generated.
> (i.e., CLIENT REREGISTER replaced LID_CHANGE in those cases where the
> reregistration bit was set in the MAD).
>
> This patch simply restores the previous behavior of the sa_query and cache
> modules in responding to events.
Understood but doesn't it also has the effect of doing more than this
for certain cases of Set PortInfo ?
> No reregistration is required in these modules.
Currently but I think it is a possibility in the future.
-- Hal
> > What about deregistration of the old registrations when this occurs ?
> > Is that handled ?
> >
> There is no deregistration involvement.
>
> - Jack
More information about the general
mailing list