2015-02-10 19:00 GMT+01:00 Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>: > On Tue, Feb 10, 2015 at 04:56:43PM +0100, Fabian Holler wrote: > >> Does anybody have an idea what could be wrong? >> Are the PATH_MIG* notifications with mlx4 drivers are working for somebody? > > IIRC rdmacm does not forward these events. Thanks Jason for reply. We are working in kernel module, we subscribe qp_event_handler when create qp, we've checked mlx4 driver(mlx4_core & mlx4_ib), looks they do report qp event. But strangely we never receive the call in our callback function. Forgot to mention, the switch is from Qlogic, in case it matters. Regards, Jack > > There is a lot missing to support APM with RDMA CM, it doesn't do any > of the CM state machine operations to coordinate loading alternate > paths, for instance. > >> As soon as the migration happens I expect that a IB_EVENT_PATH_MIG* is >> generated on the QP event handler, but I don't receive any QP events. > > qp_event_handler is a RDMA CM event handler, it handles > RDMA_CM_EVENT_* and there is no RDMA_CM_EVENT_PATH_MIGRATED. > > You'd need to listen to the verbs level events directly, I don't > recall if this is possible with RDMA CM or not, sorry. > > Jason > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html