IB/mthca: Add client reregister event generation
authorLeonid Arsh <leonida@voltaire.com>
Sun, 18 Jun 2006 03:37:36 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:36 +0000 (20:37 -0700)
commit12bbb2b7be7f5564952ebe0196623e97464b8ac5
tree2c2aed2ffd043a145ba0369a799d9e8a1bd29ede
parentda2ab62ab5e430e6ffafc2d0e6046dcd2780f570
IB/mthca: Add client reregister event generation

Change the mthca snoop of MADs that set PortInfo to check if the SM
has set the client reregister bit, and if it has, generate a client
reregister event.  If the bit is not set, just generate a LID change
event as usual.

Signed-off-by: Leonid Arsh <leonida@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_mad.c