From: Shlomo Pongratz <shlo...@mellanox.com> Hi Roland, Sean, everyone!
This patch series fixes the following two issues Shlomo stepped on while experimenting with the kernel XRC code: 1. Calling an uninitalized XRC TGT QP event handler. QP envent handler is optional, the current code calls the event handelr for XRC TGT QP unconditionaly, fix that. 2. In the CQ polling code, when the QP is of type XRC TGT the srq field in the QP has no meaning since an XRC TGT QP can redirect to more than one XRC SRQ. The XRC SRQ need to be retrived using the information form the XRCETH. Or. Shlomo Pongratz (3): IB/core: Verify that QP handler is valid before dispatching events net/mlx4_core: Implement srq object lookup from srqn IB/mlx4: Fetch XRC SRQ in the CQ polling code drivers/infiniband/core/verbs.c | 3 ++- drivers/infiniband/hw/mlx4/cq.c | 21 +++++++++++++++++++++ drivers/net/ethernet/mellanox/mlx4/srq.c | 15 +++++++++++++++ include/linux/mlx4/srq.h | 2 ++ 4 files changed, 40 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html