Re: [PATCH] IB/core: Don't warn on no SA support in event handler

2015-06-10 Thread Michael Wang
Hi, Moni On 06/10/2015 11:13 AM, Moni Shoua wrote: Registering an event handler is done for a device. This device may have one RoCE port (no SA cap) and one InfiniBand port (has SA cap). Therefore, warning from the event handler about a specific port that doesn't have SA cap is correct but

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Or Gerlitz
On 6/9/2015 10:27 AM, Matan Barak wrote: On 6/9/2015 12:37 AM, Hefty, Sean wrote: Previously, every vendor implemented its net device notifiers in its own driver. This introduces a huge code duplication as figuring 28 files changed, 2253 insertions(+), 860 deletions(-) How does

[PATCH] IB/core: Don't warn on no SA support in event handler

2015-06-10 Thread Moni Shoua
Registering an event handler is done for a device. This device may have one RoCE port (no SA cap) and one InfiniBand port (has SA cap). Therefore, warning from the event handler about a specific port that doesn't have SA cap is correct but pollutes the kernel log without a need. Signed-off-by:

Re: [PATCH v3] IB/ipoib: Scatter-Gather support in connected mode

2015-06-10 Thread Erez Shitrit
On Mon, May 11, 2015 at 1:04 PM, Yuval Shaia yuval.sh...@oracle.com wrote: By default, IPoIB-CM driver uses 64k MTU. Larger MTU gives better performance. This MTU plus overhead puts the memory allocation for IP based packets at 32 4k pages (order 5), which have to be contiguous. When the

[PATCH] IB/core: Don't advertise SA in RoCE port capabilities

2015-06-10 Thread Moni Shoua
The Subnet Administrator (SA) is not a component of the RoCE spec. Therefore, it should not be a capability of a RoCE port. Signed-off-by: Moni Shoua mo...@mellanox.com --- include/rdma/ib_verbs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/rdma/ib_verbs.h

Re: [PATCH for-next V2 0/9] Add completion timestamping support

2015-06-10 Thread Or Gerlitz
On 6/10/2015 4:26 AM, Christoph Lameter wrote: I have no problem with a bare metal interface exposing this. But pretendin= g that it's generic and that this is the one and only way that this could b= e implemented doesn't make it so. This is a way it was implemented and its usable. Shooting

Re: [PATCH] IB/core: Don't advertise SA in RoCE port capabilities

2015-06-10 Thread Or Gerlitz
On 6/10/2015 8:35 AM, Moni Shoua wrote: The Subnet Administrator (SA) is not a component of the RoCE spec. Therefore, it should not be a capability of a RoCE port. Change-Id: Iadfaa56bdc9f6e28f46d009064c2d15969293cf7 Please remove the internal Gerrit IDs we use prior to sending patches out

Re: [PATCH v3] IB/ipoib: Scatter-Gather support in connected mode

2015-06-10 Thread Erez Shitrit
On Mon, May 11, 2015 at 1:04 PM, Yuval Shaia yuval.sh...@oracle.com wrote: By default, IPoIB-CM driver uses 64k MTU. Larger MTU gives better performance. This MTU plus overhead puts the memory allocation for IP based packets at 32 4k pages (order 5), which have to be contiguous. When the

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hal Rosenstock
On 6/9/2015 10:57 AM, kaike@intel.com wrote: From: Kaike Wan kaike@intel.com A SA cache is undeniably critical for fabric scalability and performance. In user space, the ibacm application provides a good example of pathrecord cache for address and route resolution. With the recent

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Wan, Kaike
-Original Message- From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 9:37 AM A SA cache is undeniably critical for fabric scalability and performance. In user space, the ibacm application provides a good example of pathrecord cache for

Re: rdmacm issue

2015-06-10 Thread Hal Rosenstock
On 6/9/2015 9:52 PM, Bob Ciotti wrote: We have an issue where lustre servers and clients cannot talk to each other. There are about 11,000 clients all trying to connect to a server that just been rebooted (nbp6-oss3 in this example) pfe21 is a lustre client thats trying to remount the

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hal Rosenstock
On 6/10/2015 10:22 AM, Wan, Kaike wrote: -Original Message- From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 9:37 AM A SA cache is undeniably critical for fabric scalability and performance. In user space, the ibacm application provides a good

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 11:53:15AM +0300, Or Gerlitz wrote: Jason, can you ack that this post addressed your comments? Well, I asked for a cleanup series, multiple times, and this is the closest things have got. It isn't really a cleanup because the whole gid table is new code and has latent

RE: [PATCH 14/14] IB/mad: Add final OPA MAD processing

2015-06-10 Thread Liran Liss
From: Ira Weiny ira.we...@intel.com Hi Ira, OPA cannot impersonate IB; OPA node and link types have to be designated as such. In terms of MAD processing flows, both explicit (as in the handle_opa_smi() call below) and implicit code paths (which share IB flows - there are several cases) must

Re: [PATCH 05/36] HMM: introduce heterogeneous memory management v3.

2015-06-10 Thread Jerome Glisse
On Tue, Jun 09, 2015 at 08:33:12PM -0700, Mark Hairgrove wrote: On Tue, 9 Jun 2015, Jerome Glisse wrote: On Mon, Jun 08, 2015 at 06:54:29PM -0700, Mark Hairgrove wrote: Can you clarify how that's different from mmu_notifiers? Those are also embedded into a driver-owned struct.

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Wan, Kaike
A SA cache is undeniably critical for fabric scalability and performance. In user space, the ibacm application provides a good example of pathrecord cache for address and route resolution. With the recent implementation of the provider architecture, ibacm offers more extensibility as

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hal Rosenstock
On 6/10/2015 11:21 AM, Hefty, Sean wrote: While this appears to address the current upstream use model for ACM with it's multicast overlay backend where PRs are static, it does not appear to address PR changes. Although this ties into ibacm, from the viewpoint of the kernel, there's no

RE: [PATCH] IB/core: Don't warn on no SA support in event handler

2015-06-10 Thread Weiny, Ira
Registering an event handler is done for a device. This device may have one RoCE port (no SA cap) and one InfiniBand port (has SA cap). Therefore, warning from the event handler about a specific port that doesn't have SA cap is correct but pollutes the kernel log without a need.

RE: [PATCH] IB/core: Don't warn on no SA support in event handler

2015-06-10 Thread Hefty, Sean
Registering an event handler is done for a device. This device may have one RoCE port (no SA cap) and one InfiniBand port (has SA cap). Therefore, warning from the event handler about a specific port that doesn't have SA cap is correct but pollutes the kernel log without a need. Maybe

Re: [PATCH] IB/core: Don't advertise SA in RoCE port capabilities

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 11:43 +0300, Moni Shoua wrote: The Subnet Administrator (SA) is not a component of the RoCE spec. Therefore, it should not be a capability of a RoCE port. Signed-off-by: Moni Shoua mo...@mellanox.com --- include/rdma/ib_verbs.h | 1 - 1 file changed, 1 deletion(-)

RE: [PATCH for-next V2 0/9] Add completion timestamping support

2015-06-10 Thread Hefty, Sean
There are multiple problems with libfrabric related to the use cases in my area. Most of all the lack of multicast support. Then there is the build up of software bloat on top. The interest here is in low latency operations. Redenzvous and other new features are really not wanted if they

RE: rdmacm issue

2015-06-10 Thread Hefty, Sean
RDMA_CM_EVENT_UNREACHABLE is indicated when there are timeouts in underlying CM protocol exchange. I suspect that the server is really busy and doesn't respond to the low level CM MADs in a timely manner. RDMA CM (and other kernel ULPs like IPoIB and SRP use hard coded local and remote

[PATCH 1/1 linux-next] IB/mthca: use swap() in mthca_make_profile()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/infiniband/hw/mthca/mthca_profile.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hal Rosenstock
On 6/10/2015 11:49 AM, Wan, Kaike wrote: A SA cache is undeniably critical for fabric scalability and performance. In user space, the ibacm application provides a good example of pathrecord cache for address and route resolution. With the recent implementation of the provider architecture,

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 05:04:55PM +, Hefty, Sean wrote: Not in the patches themselves but in the general issue when a PR changes. Do you think this needs addressing or are things fine as they are now ? IMO, I think it needs addressing in terms of can the proposed netlink

Re: [PATCH v4 4/4] IB/sa: Route SA pathrecord query through netlink

2015-06-10 Thread Hal Rosenstock
On 6/10/2015 3:10 PM, Jason Gunthorpe wrote: On Wed, Jun 10, 2015 at 01:47:36PM -0400, Hal Rosenstock wrote: On 6/9/2015 10:57 AM, kaike@intel.com wrote: From: Kaike Wan kaike@intel.com This patch routes a SA pathrecord query to netlink first Should only unicast PRs be done in this

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hal Rosenstock
On 6/10/2015 1:04 PM, Hefty, Sean wrote: Not in the patches themselves but in the general issue when a PR changes. Do you think this needs addressing or are things fine as they are now ? IMO, I think it needs addressing in terms of can the proposed netlink architecture and design

RE: [PATCH v4 1/4] IB/netlink: Add defines for local service requests through netlink

2015-06-10 Thread Hefty, Sean
+/* Local Service Reversible attribute */ struct +rdma_nla_ls_reversible { + __u32 reversible; +}; Isn't __u8 sufficient for reversible ? Certainly enough. However, reversible is __u32 in struct ib_user_path_rec and int in struct ib_sa_path_rec. OK; I hadn't double

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hefty, Sean
This series does not attempt to optimize the kernel needing to know that a PR has been updated. There are existing mechanisms for that. Does this exist in the kernel? -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Matan Barak
On Wed, Jun 10, 2015 at 9:49 PM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Wed, Jun 10, 2015 at 06:08:30PM +0300, Matan Barak wrote: It isn't really a cleanup because the whole gid table is new code and has latent elements for rocev2 - this is why it is so much bigger than it

Re: [PATCH 14/14] IB/mad: Add final OPA MAD processing

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 12:56 -0600, Jason Gunthorpe wrote: On Wed, Jun 10, 2015 at 02:37:26PM -0400, Doug Ledford wrote: On Wed, 2015-06-10 at 06:30 +, Liran Liss wrote: From: Ira Weiny ira.we...@intel.com Hi Ira, OPA cannot impersonate IB; OPA node and link types have to

[RESEND PATCH v3 14/14] IB/mad: Add final OPA MAD processing

2015-06-10 Thread ira . weiny
From: Ira Weiny ira.we...@intel.com For devices which support OPA MADs 1) Use previously defined SMP support functions. 2) Pass correct base version to ib_create_send_mad when processing OPA MADs. 3) Process out_mad_key_index returned by agents for a response. This is necessary

Re: [PATCH v4 4/4] IB/sa: Route SA pathrecord query through netlink

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 01:47:36PM -0400, Hal Rosenstock wrote: On 6/9/2015 10:57 AM, kaike@intel.com wrote: From: Kaike Wan kaike@intel.com This patch routes a SA pathrecord query to netlink first Should only unicast PRs be done in this manner or should API support enabling

Re: [PATCH v4 1/4] IB/netlink: Add defines for local service requests through netlink

2015-06-10 Thread Hal Rosenstock
On 6/10/2015 2:31 PM, Wan, Kaike wrote: From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 1:47 PM On 6/9/2015 10:57 AM, kaike@intel.com wrote: From: Kaike Wan kaike@intel.com This patch adds netlink defines for SA client, local service group,

Re: [PATCH 14/14] IB/mad: Add final OPA MAD processing

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 06:30 +, Liran Liss wrote: From: Ira Weiny ira.we...@intel.com Hi Ira, OPA cannot impersonate IB; OPA node and link types have to be designated as such. In terms of MAD processing flows, both explicit (as in the handle_opa_smi() call below) and implicit code

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hefty, Sean
Not in the patches themselves but in the general issue when a PR changes. Do you think this needs addressing or are things fine as they are now ? IMO, I think it needs addressing in terms of can the proposed netlink architecture and design accommodate this sort of request in the future? We

Re: [PATCH 14/14] IB/mad: Add final OPA MAD processing

2015-06-10 Thread ira.weiny
On Wed, Jun 10, 2015 at 06:30:58AM +, Liran Liss wrote: From: Ira Weiny ira.we...@intel.com Hi Ira, OPA cannot impersonate IB; OPA node and link types have to be designated as such. This was discussed at length and we agreed that the kernel would have explicit capabilities

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 06:08:30PM +0300, Matan Barak wrote: It isn't really a cleanup because the whole gid table is new code and has latent elements for rocev2 - this is why it is so much bigger than it should be. I disagree. Could you please point on anything that is RoCE V2 specific?

RE: [PATCH v4 1/4] IB/netlink: Add defines for local service requests through netlink

2015-06-10 Thread Wan, Kaike
From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 1:47 PM On 6/9/2015 10:57 AM, kaike@intel.com wrote: From: Kaike Wan kaike@intel.com This patch adds netlink defines for SA client, local service group, local service operations, and related

Re: rdmacm issue

2015-06-10 Thread Bob Ciotti
On 06/10/2015 06:35 AM, Hal Rosenstock wrote: On 6/9/2015 9:52 PM, Bob Ciotti wrote: We have an issue where lustre servers and clients cannot talk to each other. There are about 11,000 clients all trying to connect to a server that just been rebooted (nbp6-oss3 in this example) pfe21 is a

Re: [PATCH 14/14] IB/mad: Add final OPA MAD processing

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 02:37:26PM -0400, Doug Ledford wrote: On Wed, 2015-06-10 at 06:30 +, Liran Liss wrote: From: Ira Weiny ira.we...@intel.com Hi Ira, OPA cannot impersonate IB; OPA node and link types have to be designated as such. In terms of MAD processing flows, both

Re: [PATCH v4 4/4] IB/sa: Route SA pathrecord query through netlink

2015-06-10 Thread Hal Rosenstock
On 6/9/2015 10:57 AM, kaike@intel.com wrote: From: Kaike Wan kaike@intel.com This patch routes a SA pathrecord query to netlink first Should only unicast PRs be done in this manner or should API support enabling for unicast and/or multicast ? AFAIK kernel doesn't query multicast PRs

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread ira.weiny
On Wed, Jun 10, 2015 at 10:39:49AM -0400, Hal Rosenstock wrote: On 6/10/2015 10:22 AM, Wan, Kaike wrote: -Original Message- From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 9:37 AM A SA cache is undeniably critical for fabric

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 09:34:58PM +, Hefty, Sean wrote: I agree. I just wanted to make sure that there wasn't some feature regarding PRs, such as unpath, that a kernel client would lose (i.e. it is currently implemented) by changing how the PRs are retrieved. Basically nothing breaks

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hefty, Sean
Not directly. IPoIB treats it that way. I guess to be safe. Officially one should register for UnPath/RePath traps. But no one has ever implemented that. To be clear I am agreeing with Hal that having some sort of update signal would be nice. But I don't think that must be done before

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 11:19:03PM +0300, Matan Barak wrote: Sure gid_type is gone, but I didn't say roceve2 specific, I said latent elements. ie I'm assuming reasons for the scary locking are because the ripped out rocev2 code needed it? And some of the complexity that looks pointless

RE: [PATCH v4 4/4] IB/sa: Route SA pathrecord query through netlink

2015-06-10 Thread Weiny, Ira
On 6/10/2015 3:10 PM, Jason Gunthorpe wrote: On Wed, Jun 10, 2015 at 01:47:36PM -0400, Hal Rosenstock wrote: On 6/9/2015 10:57 AM, kaike@intel.com wrote: From: Kaike Wan kaike@intel.com This patch routes a SA pathrecord query to netlink first Should only unicast PRs be done

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hefty, Sean
This series does not attempt to optimize the kernel needing to know that a PR has been updated. There are existing mechanisms for that. Does this exist in the kernel? At least some support, yes. For example client reregister marks all IPoIB paths as invalid. Reregister indicates

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Weiny, Ira
This series does not attempt to optimize the kernel needing to know that a PR has been updated. There are existing mechanisms for that. Does this exist in the kernel? At least some support, yes. For example client reregister marks all IPoIB paths as invalid. Reregister

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Weiny, Ira
This series does not attempt to optimize the kernel needing to know that a PR has been updated. There are existing mechanisms for that. Does this exist in the kernel? At least some support, yes. For example client reregister marks all IPoIB paths as invalid. Ira -- To unsubscribe

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 09:00 -0600, Jason Gunthorpe wrote: On Wed, Jun 10, 2015 at 11:53:15AM +0300, Or Gerlitz wrote: Jason, can you ack that this post addressed your comments? Well, I asked for a cleanup series, multiple times, and this is the closest things have got. It isn't really

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 12:49 -0600, Jason Gunthorpe wrote: On Wed, Jun 10, 2015 at 06:08:30PM +0300, Matan Barak wrote: It isn't really a cleanup because the whole gid table is new code and has latent elements for rocev2 - this is why it is so much bigger than it should be. I disagree.

LINUX RDMA MAILING LIST MONITOR ALERT - RE: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Diego Crupnicoff
Here Sean reacts to our RoCEv2 patches (same thread as the one I sent before with Jason's feedback). Sean is not even making technical statements to dismiss our patches. He has been rejecting all our previous revs of this set with loose FUD comments. In this case he chose to count the lines of

Re: [PATCH 05/36] HMM: introduce heterogeneous memory management v3.

2015-06-10 Thread Mark Hairgrove
On Wed, 10 Jun 2015, Jerome Glisse wrote: [...] Like said, just ignore current code it is utterly broken in so many way when it comes to lifetime. I screw that part badly when reworking the patchset, i was focusing on other part. I fixed that in my tree, i am waiting for more review on

Re: [PATCH for-4.1 0/2] Adds support for user mode bar2 mapping and bar2 qid density

2015-06-10 Thread Doug Ledford
On Tue, 2015-06-09 at 18:23 +0530, Hariprasad Shenai wrote: Hi, This patch series adds support for user mode bar2 mappings for T4 adapter and also adds support for bar2 qid densities exceeding page size. This patch series has been created against Doug's github tree 'for-4.1' branch and

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Jason Gunthorpe
On Thu, Jun 11, 2015 at 12:49:59AM -0400, Doug Ledford wrote: fact that the mlx4 driver and the ocrdma driver had their own gid management code, there were some distinct differences between the two. The gid at index 0 never matched up in my testing for example. One supported bonding, the

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 21:57 -0600, Jason Gunthorpe wrote: On Wed, Jun 10, 2015 at 09:06:28PM -0400, Doug Ledford wrote: People tend to push the patches should be small, self contained, incremental ideal. In some cases, that gets carried to an extreme. In this case, patch 1 introduces

Re: [PATCH] IB/core: Don't warn on no SA support in event handler

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 12:13 +0300, Moni Shoua wrote: Registering an event handler is done for a device. This device may have one RoCE port (no SA cap) and one InfiniBand port (has SA cap). Therefore, warning from the event handler about a specific port that doesn't have SA cap is correct but

Re: [PATCH] RDMA/ocrdma: fix double free on pd

2015-06-10 Thread Doug Ledford
On Fri, 2015-06-05 at 15:47 +0100, Colin King wrote: From: Colin Ian King colin.k...@canonical.com A reorganisation of the PD allocation and deallocation in commit 9ba1377daa (RDMA/ocrdma: Move PD resource management to driver.) introduced a double free on pd, as detected by static analysis

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 08:15:56PM -0400, Doug Ledford wrote: I'm not sure the complexity here is latent RoCEv2 stuff versus simple over-design. Well, for instance, the wrong RCU locking around table-data_vec[ix].attr.ndev appears to exist to support find_gid when called with

Re: [PATCH for-next V5 12/12] RDMA/ocrdma: Changes in driver to incorporate the moving of GID Table mgmt to IB/Core.

2015-06-10 Thread Jason Gunthorpe
On Mon, Jun 08, 2015 at 05:12:15PM +0300, Matan Barak wrote: From: Somnath Kotur somnath.ko...@emulex.com 1.Check and set port capability flags to indicate RoCEV2 support. ??? This series has nothing to with rocev2 now, what is this about? mutex_init(dev-dev_lock); - dev-sgid_tbl

Re: [PATCH for-next V5 03/12] IB/core: Add RoCE GID population

2015-06-10 Thread Jason Gunthorpe
On Mon, Jun 08, 2015 at 05:12:06PM +0300, Matan Barak wrote: drivers/infiniband/core/core_priv.h | 26 ++ drivers/infiniband/core/device.c | 77 + I wouldn't mind seeing the core portion which consists of adding the get_netdev be it's own little mini-series of three, adding

Re: LINUX RDMA MAILING LIST MONITOR ALERT - RE: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Doug Ledford
On Wed, 2015-06-10 at 23:17 +, Diego Crupnicoff wrote: Here Sean reacts to our RoCEv2 patches (same thread as the one I sent before with Jason's feedback). Sean is not even making technical statements to dismiss our patches. He has been rejecting all our previous revs of this set with

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Jason Gunthorpe
On Wed, Jun 10, 2015 at 09:06:28PM -0400, Doug Ledford wrote: People tend to push the patches should be small, self contained, incremental ideal. In some cases, that gets carried to an extreme. In this case, patch 1 introduces one side of the locking and patch 3 and 5 introduce the other

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Wan, Kaike
-Original Message- From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 10:40 AM -Original Message- From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 9:37 AM A SA cache is undeniably critical

RE: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Hefty, Sean
Sean, this change is needed b/c two drivers have (mlx4 and ocrda) and more two to come soon (mlx5 and soft-Roce) would have the very same logic of constructing the port GID table according to netdev events and such, no point in repeating this logic/code over and over. Matan explained why we

Re: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hal Rosenstock
On 6/10/2015 11:07 AM, Wan, Kaike wrote: -Original Message- From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 10:40 AM -Original Message- From: Hal Rosenstock [mailto:h...@dev.mellanox.co.il] Sent: Wednesday, June 10, 2015 9:37 AM A

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Matan Barak
On 6/10/2015 6:09 PM, Hefty, Sean wrote: Sean, this change is needed b/c two drivers have (mlx4 and ocrda) and more two to come soon (mlx5 and soft-Roce) would have the very same logic of constructing the port GID table according to netdev events and such, no point in repeating this logic/code

RE: [PATCH v4 0/4] Sending kernel pathrecord query to user cache server

2015-06-10 Thread Hefty, Sean
While this appears to address the current upstream use model for ACM with it's multicast overlay backend where PRs are static, it does not appear to address PR changes. Although this ties into ibacm, from the viewpoint of the kernel, there's no requirement on the user space implementation.

Re: [PATCH for-next V5 00/12] Move RoCE GID management to IB/Core

2015-06-10 Thread Matan Barak
On 6/10/2015 6:00 PM, Jason Gunthorpe wrote: On Wed, Jun 10, 2015 at 11:53:15AM +0300, Or Gerlitz wrote: Jason, can you ack that this post addressed your comments? Well, I asked for a cleanup series, multiple times, and this is the closest things have got. It isn't really a cleanup