[PATCH] IB/cma: Fix net_dev reference leak with failed requests

2015-08-27 Thread Haggai Eran
When no matching listening ID is found for a given request, the net_dev that was used to find the request isn't released. Fixes: 20c36836ecad ("IB/cma: Use found net_dev for passive connections") Signed-off-by: Haggai Eran --- drivers/infiniband/core/cma.c | 4 1 file changed, 4 insertions(

RE: [PATCH] infiniband:cxgb4:Fix incorrect return statement in the function c4iw_reject_cr

2015-08-27 Thread Steve Wise
> -Original Message- > From: Nicholas Krause [mailto:xerofo...@gmail.com] > Sent: Wednesday, August 26, 2015 7:22 PM > To: sw...@chelsio.com > Cc: dledf...@redhat.com; sean.he...@intel.com; hal.rosenst...@gmail.com; > linux-rdma@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: [PA

RE: [PATCH] infiniband:cxgb4:Fix if statement check in the function pick_local_ip6adddrs

2015-08-27 Thread Steve Wise
Acked-by: Steve Wise -- 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 v6 1/4] IB/addr: Pass network namespace as a parameter

2015-08-27 Thread Haggai Eran
From: Guy Shapiro Add network namespace support to the ib_addr module. For that, all the address resolution and matching should be done using the appropriate namespace instead of init_net. This is achieved by: 1. Adding an explicit network namespace argument to exported function that require

[PATCH v6 2/4] IB/cma: Separate port allocation to network namespaces

2015-08-27 Thread Haggai Eran
Keep a struct for each network namespace containing the IDRs for the RDMA CM port spaces. The struct is created dynamically using the generic_net mechanism. This patch is internal infrastructure work for the following patches. In this patch, init_net is statically used as the network namespace for

[PATCH v6 4/4] IB/ucma: Take the network namespace from the process

2015-08-27 Thread Haggai Eran
From: Guy Shapiro Add support for network namespaces from user space. This is done by passing the network namespace of the process instead of init_net. Signed-off-by: Haggai Eran Signed-off-by: Yotam Kenneth Signed-off-by: Shachar Raindel Signed-off-by: Guy Shapiro --- drivers/infiniband/co

[PATCH v6 0/4] Add network namespace support in the RDMA-CM

2015-08-27 Thread Haggai Eran
Hi, Now that the code for demuxing requests is inside rdma_cm, here are the patches to add InfiniBand network namespace again. Changes from v5: - removed patches that got in as part of the cleanup series. RDMA-CM uses IP based addressing and routing to setup RDMA connections between hosts. Curre

[PATCH v6 3/4] IB/cma: Add support for network namespaces

2015-08-27 Thread Haggai Eran
From: Guy Shapiro Add support for network namespaces in the ib_cma module. This is accomplished by: 1. Adding network namespace parameter for rdma_create_id. This parameter is used to populate the network namespace field in rdma_id_private. rdma_create_id keeps a reference on the network n

[PATCH 2/3] Add on-demand paging support

2015-08-27 Thread Haggai Eran
On-demand paging feature allows registering memory regions without pinning their pages. Unfortunately the feature doesn't work together will all transports and all operations. This patch adds the ability to report on-demand paging capabilities through the ibv_query_device_ex. The patch also add th

[PATCH 3/3] libibverbs/examples: Support odp in rc_pingpong

2015-08-27 Thread Haggai Eran
From: Majd Dibbiny Signed-off-by: Majd Dibbiny Signed-off-by: Haggai Eran --- examples/rc_pingpong.c | 31 +-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/examples/rc_pingpong.c b/examples/rc_pingpong.c index ddfe8d007e1a..904ec83a633f 100644 ---

[PATCH 0/3] libibverbs: On-demand paging support

2015-08-27 Thread Haggai Eran
This series adds userspace support for on-demand paging. The first patch adds support for the new extended query device verb. Patch 2 adds the capability and interface bits related to on-demand paging, and patch 3 adds example code to the rc_pingpong program to use on-demand paging. Eli Cohen (1):

[PATCH 1/3] Add support for extended query device capabilities

2015-08-27 Thread Haggai Eran
From: Eli Cohen Add the verb ibv_query_device_ex which is extensible and allows following commits to add new features to define additional properties. Signed-off-by: Eli Cohen Signed-off-by: Haggai Eran --- Makefile.am | 3 +- examples/devinfo.c| 16 -- in

Re: [PATCH for-next V3 7/8] IB/mlx4: Add mmap call to map the hardware clock

2015-08-27 Thread Christoph Lameter
Could you please post an updates patch that reflects the current state in Matan's tree? -- 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

Re: [PATCH for-next V3 1/8] IB/core: Change provider's API of create_cq to be extendible

2015-08-27 Thread Christoph Lameter
Ok we tested this patchset with Matans timestamp-v2 branches from his repo on github and the timestamps now work fine. Can we please get the user space library bits into libibverbs and libmlx4? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to ma

Re: [PATCH 1/2] IB/ipoib: Clean up send-only multicast joins

2015-08-27 Thread Jason Gunthorpe
On Wed, Aug 26, 2015 at 12:43:15PM -0400, Doug Ledford wrote: > That still takes us back to the fact that the locking changes are > unneeded. I'm not opposed to them, but as you mentioned in your first > email, they should go with the changes that require them, and none of > the changes in the fi

Re: [PATCH 2/2] IB/ipoib: Suppress warning for send only join failures

2015-08-27 Thread Jason Gunthorpe
On Wed, Aug 26, 2015 at 05:41:08AM -0400, Hal Rosenstock wrote: > On 8/25/2015 12:28 PM, Jason Gunthorpe wrote: > > On Tue, Aug 25, 2015 at 08:59:13AM -0400, Hal Rosenstock wrote: > >>> - if (mcast->logcount++ < 20) { > >>> - if (status == -ETIMEDOUT || status == -EAGAIN) {

RE: [PATCH v6 0/4] Add network namespace support in the RDMA-CM

2015-08-27 Thread Hefty, Sean
This series looks reasonable to me -- 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