[openib-general] [PATCH] IB/core: fix SM LID/LID change with client reregister set

Jack Morgenstein jackm at mellanox.co.il
Tue Aug 15 08:06:22 PDT 2006


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.

No reregistration is required in these modules.

> 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