[openib-general][PATCH] IPoIB client reregister event support

Leonid Arsh leonida at voltaire.com
Mon Apr 10 09:16:44 PDT 2006


Hello,
   this is Michael's patch, that he proposed in addition to my linux kernel mthca & ib_verbs.h
   and user space verbs.h patches 
   (see [openib-general][PATCH] mthca & ib_verbs.h client reregister event support by the SW)

 I checked it and it works fine.
 


Signed-off-by: Leonid Arsh <leonida at voltaire.com>

Index: linux-kernel/infiniband/ulp/ipoib/ipoib_verbs.c
===================================================================
--- linux-kernel/infiniband/ulp/ipoib/ipoib_verbs.c	(revision 6343)
+++ linux-kernel/infiniband/ulp/ipoib/ipoib_verbs.c	(working copy)
@@ -255,7 +255,9 @@ void ipoib_event(struct ib_event_handler
 	    record->event == IB_EVENT_PKEY_CHANGE ||
 	    record->event == IB_EVENT_PORT_ACTIVE ||
 	    record->event == IB_EVENT_LID_CHANGE  ||
-	    record->event == IB_EVENT_SM_CHANGE) {
+	    record->event == IB_EVENT_SM_CHANGE   ||
+	    record->event == IB_EVENT_CLIENT_REREGISTER
+	    ) {
 		ipoib_dbg(priv, "Port state change event\n");
 		queue_work(ipoib_workqueue, &priv->flush_task);
 	}




More information about the general mailing list