[PATCH v2] xprtrdma: take HCA driver refcount at client

2015-07-29 Thread Devesh Sharma
Thanks Chuck Lever for the valuable feedback and suggestions. This is a rework of the following patch sent almost a year back: http://www.mail-archive.com/linux-rdma%40vger.kernel.org/msg20730.html In presence of active mount if someone tries to rmmod vendor-driver, the command remains stuck fore

Re: [PATCH] rds: rds_ib_device.refcount overflow

2015-07-29 Thread Wengang Wang
Doug, No problem. I found the patch picked up. thanks, wengang 在 2015年07月29日 22:36, Doug Ledford 写道: On 07/12/2015 09:18 PM, Wengang Wang wrote: Hi Doug, How do you think about this patch? Sorry, I picked this up already. I must have missed sending out the acknowledgment on this one. tha

Re: Potential lost receive WCs (was "[PATCH WIP 38/43]")

2015-07-29 Thread Chuck Lever
On Jul 29, 2015, at 5:15 PM, Jason Gunthorpe wrote: > On Wed, Jul 29, 2015 at 04:47:59PM -0400, Chuck Lever wrote: > >> Apparently this is true for some providers, and not for others, and >> I misunderstood that when I put this together last year. > > Really? In kernel providers? Interesting,

Re: Potential lost receive WCs (was "[PATCH WIP 38/43]")

2015-07-29 Thread Jason Gunthorpe
On Wed, Jul 29, 2015 at 04:47:59PM -0400, Chuck Lever wrote: > Apparently this is true for some providers, and not for others, and > I misunderstood that when I put this together last year. Really? In kernel providers? Interesting, those are probably wrong... > > The idea that you can completely

Re: Potential lost receive WCs (was "[PATCH WIP 38/43]")

2015-07-29 Thread Chuck Lever
Hi Jason- On Jul 24, 2015, at 4:46 PM, Jason Gunthorpe wrote: > On Fri, Jul 24, 2015 at 04:26:00PM -0400, Chuck Lever wrote: >> Basically RPC work flow stopped because an RPC reply never >> arrived. > > Oh, that is what I expect to see.. Remebmer the cq upcall is edge > triggered, so if you l

Re: [PATCH 00/10] IB: Replace safe uses for ib_get_dma_mr with pd->local_dma_lkey

2015-07-29 Thread Doug Ledford
On 07/23/2015 02:47 PM, Jason Gunthorpe wrote: > On Thu, Jul 23, 2015 at 11:42:11AM -0700, Bart Van Assche wrote: >>> diff --git a/drivers/infiniband/ulp/srp/ib_srp.c >>> b/drivers/infiniband/ulp/srp/ib_srp.c >>> index fb9fed0fac28..a1e3818d0791 100644 >>> +++ b/drivers/infiniband/ulp/srp/ib_srp.c

Re: [PATCH REPOST libibverbs] Add IP and TCP/UDP TX checksum offload support

2015-07-29 Thread Doug Ledford
On 07/01/2015 11:17 AM, Christoph Lameter wrote: > Is there any release schedule and/or upstream repo where I can see changes > for libibverbs and libmlx4? > I'm working on libibverbs right now. The upstream git repo has not changed, it's the same as it always was. Or, Jason asked for some (IMO

Re: [PATCH] RDMA/amso1100: deprecate the amso1100 provider

2015-07-29 Thread Doug Ledford
On 07/29/2015 10:44 AM, Steve Wise wrote: > The HW hasn't been sold since 2005, and the SW has definite bit rot. > Its time to remove it. So move it to staging for a few releases and > then remove it after that. > > Signed-off-by: Steve Wise Thanks, applied. -- Doug Ledford GP

Re: [PATCH v3 00/13] Demux IB CM requests in the rdma_cm module

2015-07-29 Thread Doug Ledford
On 07/29/2015 07:06 AM, Haggai Eran wrote: > Here's an updated patchset with the changes requested by Sean and Jason. > Thanks > for your comments. Hi Haggai, This doesn't apply on to a clean 4.2-rc4 kernel tree. Can you please rebase against either that or my to-be-rebase/for-4.3 branch of my

[PATCH] RDMA/amso1100: deprecate the amso1100 provider

2015-07-29 Thread Steve Wise
The HW hasn't been sold since 2005, and the SW has definite bit rot. Its time to remove it. So move it to staging for a few releases and then remove it after that. Signed-off-by: Steve Wise --- drivers/infiniband/Kconfig |1 - drivers/infiniband/hw/Makefile

Re: deprecating amso1100

2015-07-29 Thread Doug Ledford
On 07/29/2015 10:31 AM, Steve Wise wrote: > > >> -Original Message- >> From: Doug Ledford [mailto:dledf...@redhat.com] >> Sent: Wednesday, July 29, 2015 9:28 AM >> To: Dennis Dalessandro >> Cc: Steve Wise; linux-rdma@vger.kernel.org >> Subject: Re: deprecating amso1100 >> >> On 07/21/2015

Re: [PATCH] rds: rds_ib_device.refcount overflow

2015-07-29 Thread Doug Ledford
On 07/12/2015 09:18 PM, Wengang Wang wrote: > Hi Doug, > > How do you think about this patch? Sorry, I picked this up already. I must have missed sending out the acknowledgment on this one. > thanks, > wengang > > 在 2015年07月06日 14:35, Wengang Wang 写道: >> Fixes: 3e0249f9c05c ("RDS/IB: add refco

Re: [PATCH] IB/ipath: Move ipath driver to staging.

2015-07-29 Thread Doug Ledford
On 07/21/2015 06:22 PM, dennis.dalessan...@intel.com wrote: > From: Dennis Dalessandro > > It is now time for the ipath driver to begin to be phased out of the kernel. > This patch moves the ipath driver from the Infiniband sub tree to the staging > area where it will remain until the code is rem

RE: deprecating amso1100

2015-07-29 Thread Steve Wise
> -Original Message- > From: Doug Ledford [mailto:dledf...@redhat.com] > Sent: Wednesday, July 29, 2015 9:28 AM > To: Dennis Dalessandro > Cc: Steve Wise; linux-rdma@vger.kernel.org > Subject: Re: deprecating amso1100 > > On 07/21/2015 04:45 PM, Doug Ledford wrote: > > > >> On Jul 21, 20

Re: deprecating amso1100

2015-07-29 Thread Doug Ledford
On 07/21/2015 04:45 PM, Doug Ledford wrote: > >> On Jul 21, 2015, at 4:42 PM, Dalessandro, Dennis >> wrote: >> >>> -Original Message- >>> From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- >>> ow...@vger.kernel.org] On Behalf Of Doug Ledford >>> Sent: Tuesday, July 21, 2015 2:49

[PATCH v3 12/13] IB/cma: Share ib_cm_ids between rdma_cm_ids

2015-07-29 Thread Haggai Eran
Use ib_cm_insert_listen to create listening IB CM IDs or share existing ones if needed. When given a request on a specific CM ID, the code now matches the request to the RDMA CM ID based on the request parameters, so it no longer needs to rely on the ib_cm's private data matching capabilities. Sig

[PATCH v3 04/13] IB/cm: Expose service ID in request events

2015-07-29 Thread Haggai Eran
Expose the service ID on an incoming CM or SIDR request to the event handler. This will allow the RDMA CM module to de-multiplex connection requests based on the information encoded in the service ID. Acked-by: Sean Hefty Signed-off-by: Haggai Eran --- drivers/infiniband/core/cm.c | 3 +++ incl

[PATCH v3 06/13] IB/cma: Refactor RDMA IP CM private-data parsing code

2015-07-29 Thread Haggai Eran
When receiving a connection request, rdma_cm needs to associate the request with a network device, in order to disambiguate requests. To do this, it needs to know the request's destination IP. For this the module needs to allow getting this information from the private data in the request packet, i

[PATCH v3 02/13] IB/core: Find the network device matching connection parameters

2015-07-29 Thread Haggai Eran
From: Yotam Kenneth In the case of IPoIB, and maybe in other cases, the network device is managed by an upper-layer protocol (ULP). In order to expose this network device to other users of the IB device, let ULPs implement a callback that returns network device according to connection parameters.

[PATCH v3 05/13] IB/cm: Share listening CM IDs

2015-07-29 Thread Haggai Eran
Enabling network namespaces for RDMA CM will allow processes on different namespaces to listen on the same port. In order to leave namespace support out of the CM layer, this requires that multiple RDMA CM IDs will be able to share a single CM ID. This patch adds infrastructure to retrieve an exis

[PATCH v3 08/13] IB/cm: Expose BTH P_Key in CM and SIDR request events

2015-07-29 Thread Haggai Eran
The rdma_cm module will later use the P_Key from the BTH to de-mux requests. See discussion at: http://www.spinics.net/lists/netdev/msg336067.html Cc: Jason Gunthorpe Cc: Liran Liss Signed-off-by: Haggai Eran --- drivers/infiniband/core/cm.c | 20 include/rdma/ib_cm.h

[PATCH v3 11/13] IB/cma: Use found net_dev for passive connections

2015-07-29 Thread Haggai Eran
When receiving a new connection in cma_req_handler, we actually already know the net_dev that is used for the connection's creation. Instead of calling cma_translate_addr to resolve the new connection id's source address, just use the net_dev that was found. Signed-off-by: Haggai Eran --- driver

[PATCH v3 13/13] IB/cm: Remove compare_data checks

2015-07-29 Thread Haggai Eran
Now that there are no ib_cm clients using the compare_data feature for matching IB CM requests' private data, remove the compare_data parameter of ib_cm_listen and remove the code implementing the feature. Signed-off-by: Haggai Eran --- drivers/infiniband/core/cm.c| 109 ++---

[PATCH v3 07/13] IB/cma: Helper functions to access port space IDRs

2015-07-29 Thread Haggai Eran
Add helper functions to access the IDRs by port-space and port number. Pass around the port-space enum in cma.c instead of using pointers to port-space IDRs. Signed-off-by: Haggai Eran Signed-off-by: Yotam Kenneth Signed-off-by: Shachar Raindel Signed-off-by: Guy Shapiro --- drivers/infiniba

[PATCH v3 10/13] IB/cma: Validate routing of incoming requests

2015-07-29 Thread Haggai Eran
Pass incoming request parameters through the relevant IPv4/IPv6 routing tables and make sure the network stack is configured to handle such requests. Signed-off-by: Haggai Eran --- drivers/infiniband/core/cma.c | 95 +-- 1 file changed, 92 insertions(+), 3

[PATCH v3 01/13] IB/core: lock client data with lists_rwsem

2015-07-29 Thread Haggai Eran
An ib_client callback that is called with the lists_rwsem locked only for read is protected from changes to the IB client lists, but not from ib_unregister_device() freeing its client data. This is because ib_unregister_device() will remove the device from the device list with lists_rwsem locked fo

[PATCH v3 03/13] IB/ipoib: Return IPoIB devices matching connection parameters

2015-07-29 Thread Haggai Eran
From: Guy Shapiro Implement the get_net_device_by_port_pkey_ip callback that returns network device to ib_core according to connection parameters. Check the ipoib device and iterate over all child devices to look for a match. For each IPoIB device we iterate through all upper devices when search

[PATCH v3 00/13] Demux IB CM requests in the rdma_cm module

2015-07-29 Thread Haggai Eran
Here's an updated patchset with the changes requested by Sean and Jason. Thanks for your comments. Changes from v2: - added missing reviewed-bys - Patch 5: remove service_mask as a parameter from ib_cm_insert_listen() - Patch 9: * move cma_req_info struct near other structs * put GID by value

[PATCH v3 09/13] IB/cma: Add net_dev and private data checks to RDMA CM

2015-07-29 Thread Haggai Eran
Instead of relying on a the ib_cm module to check an incoming CM request's private data header, add these checks to the RDMA CM module. This allows a following patch to to clean up the ib_cm interface and remove the code that looks into the private headers. It will also allow supporting namespaces

ADMINISTRATOR

2015-07-29 Thread br1788
ADMINISTRATOR Verifizierung LAUFENDEN :: sehr wichtig   Wir sind derzeit ein Upgrade unserer Datenbank Zentrum und E-Mail-Konto. denn letzten Sicherheitskontrolle auf. Zur Schließung Ihres Kontos zu vermeiden, müssen Sie folgenden aktualisieren, so dass wir den Status wissen, wie das Konto derz

Re: [PATCH v1] xprtrdma: take vendor driver refcount at client

2015-07-29 Thread Devesh Sharma
On Wed, Jul 29, 2015 at 1:03 PM, Christoph Hellwig wrote: > Hi Devesh, > > I don't understand your use of "vendor driver" here. It seems your'e > talking about the HCA driver. Yes, I mean to say HCA driver. I will change this in next revision, its confusing rigth now. > -- To unsubscribe from t

Re: [PATCH v1] xprtrdma: take vendor driver refcount at client

2015-07-29 Thread Christoph Hellwig
Hi Devesh, I don't understand your use of "vendor driver" here. It seems your'e talking about the HCA driver. -- 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-in

[PATCH v1 RESEND] xprtrdma: take vendor driver refcount at client

2015-07-29 Thread Devesh Sharma
Thanks Chuck Lever for the valuable feedback and suggestions. This is a rework of the following patch sent almost a year back: http://www.mail-archive.com/linux-rdma%40vger.kernel.org/msg20730.html In presence of active mount if someone tries to rmmod vendor-driver, the command remains stuck fore

[PATCH v1] xprtrdma: take vendor driver refcount at client

2015-07-29 Thread Devesh Sharma
Thanks Chuck Lever for the valuable feedback and suggestions. This is a rework of the following patch sent almost a year back: http://www.mail-archive.com/linux-rdma%40vger.kernel.org/msg20730.html In presence of active mount if someone tries to rmmod vendor-driver, the command remains stuck fore