[openib-general] [PATCH 5/5] IB/ipath: Add client reregister event generation

Roland Dreier rolandd at cisco.com
Wed May 31 15:32:18 PDT 2006


From: Roland Dreier <rolandd at cisco.com>

Generate client reregister event instead of LID change event when
client reregister bit is set.

Signed-off-by: Roland Dreier <rolandd at cisco.com>
---

 drivers/infiniband/hw/ipath/ipath_mad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/ipath/ipath_mad.c b/drivers/infiniband/hw/ipath/ipath_mad.c
index 49acd1e..1a9d0a2 100644
--- a/drivers/infiniband/hw/ipath/ipath_mad.c
+++ b/drivers/infiniband/hw/ipath/ipath_mad.c
@@ -409,7 +409,7 @@ static int recv_subn_set_portinfo(struct
 
 	if (pip->clientrereg_resv_subnetto & 0x80) {
 		clientrereg = 1;
-		event.event = IB_EVENT_LID_CHANGE;
+		event.event = IB_EVENT_CLIENT_REREGISTER;
 		ib_dispatch_event(&event);
 	}
 



More information about the general mailing list