Commit 6eddb5cb authored by Roland Dreier's avatar Roland Dreier

IB/ipath: Add client reregister event generation

Generate a client reregister event instead of a LID change event when
client reregister bit is set.
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 12bbb2b7
...@@ -409,7 +409,7 @@ static int recv_subn_set_portinfo(struct ib_smp *smp, ...@@ -409,7 +409,7 @@ static int recv_subn_set_portinfo(struct ib_smp *smp,
if (pip->clientrereg_resv_subnetto & 0x80) { if (pip->clientrereg_resv_subnetto & 0x80) {
clientrereg = 1; clientrereg = 1;
event.event = IB_EVENT_LID_CHANGE; event.event = IB_EVENT_CLIENT_REREGISTER;
ib_dispatch_event(&event); ib_dispatch_event(&event);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment