Re: [PATCH for-next 3/6] IB/mlx4: Fix parameter checking in create_cq

2012-05-11 Thread Or Gerlitz
sebastien dugue sebastien.du...@bull.net wrote: @@ -172,6 +172,7 @@ struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector       struct mlx4_uar *uar;       int err; +     entries      = roundup_pow_of_two(entries + 1);       if (entries 1 || entries

Re: [PATCH for-next 3/6] IB/mlx4: Fix parameter checking in create_cq

2012-05-11 Thread sebastien dugue
On Fri, 11 May 2012 10:39:12 +0300 Or Gerlitz or.gerl...@gmail.com wrote: sebastien dugue sebastien.du...@bull.net wrote: @@ -172,6 +172,7 @@ struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector       struct mlx4_uar *uar;       int err; +    

[PATCH] RDMA/nes: Fix for the ORD value of the connecting peer

2012-05-11 Thread Tatyana Nikolova
Set ORD value of the connecting peer to be at least one in order to accommodate RDMA READ Request message. Signed-off-by: Tatyana Nikolova tatyana.e.nikol...@intel.com Signed-off-by: Donald Wood donald.e.w...@intel.com --- drivers/infiniband/hw/nes/nes_cm.c |4 1 files changed, 4

[PATCH] librdmacm/rsocket: Succeed setsockopt REUSEADDR on connected sockets

2012-05-11 Thread Hefty, Sean
The RDMA CM fail calls to set REUSEADDR on an rdma_cm_id if it is not in the idle state. As a result, this causes a failure in NetPipe when run with socket calls intercepted by rsockets. Fix this by returning success when REUSEADDR is set on an rsocket that has already been connected. When

Re: [PATCH for-next 2/6] IB/core: fix mismatch between locked and pinned pages

2012-05-11 Thread Christoph Lameter
On Thu, 10 May 2012, Or Gerlitz wrote: Commit bc3e53f68 mm: distinguish between mlocked and pinned pages introduced a separate counter for pinned pages and used it over the IB stack. Specifically, in ib_umem_get the pinned counter is incremented, but ib_umem_release wrongly decrements the

Re: [PATCH for-next 2/6] IB/core: fix mismatch between locked and pinned pages

2012-05-11 Thread Roland Dreier
applied, with Christoph's reviewed-by and a Cc: stable tag. Thanks everyone. -- 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

[PATCH] RDMA/nes: Fix for event handler NULL pointer

2012-05-11 Thread Tatyana Nikolova
Fix for ibqp event handler pointer in the case it wasn't initialized. Signed-off-by: Tatyana Nikolova tatyana.e.nikol...@intel.com Signed-off-by: Donald Wood donald.e.w...@intel.com --- drivers/infiniband/hw/nes/nes_cm.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git