Re: linux-next: build failure after merge of the infiniband tree

2014-12-16 Thread Or Gerlitz
On 12/16/2014 3:56 AM, Roland Dreier wrote: On Mon, Dec 15, 2014 at 5:47 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, After merging the infiniband tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/infiniband/hw/mlx5/main.c: In function

Re: [PATCH for-next] RDMA/CMA: Mark IPv4 addresses correctly when the listener is IPv6

2014-12-16 Thread Or Gerlitz
On 11/16/2014 11:04 AM, Shachar Raindel wrote: -Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Hefty, Sean Sent: Thursday, November 13, 2014 6:24 PM To: Or Gerlitz Cc: linux-rdma@vger.kernel.org; Roland Dreier; Yotam

Re: [PATCH v3 07/17] IB/core: Add flags for on demand paging support

2014-12-16 Thread Yann Droneaud
Hi, Le jeudi 11 décembre 2014 à 17:04 +0200, Haggai Eran a écrit : From: Sagi Grimberg sa...@mellanox.com * Add a configuration option for enable on-demand paging support in the infiniband subsystem (CONFIG_INFINIBAND_ON_DEMAND_PAGING). In a later patch, this configuration option will

Re: [PATCH v3 07/17] IB/core: Add flags for on demand paging support

2014-12-16 Thread Yann Droneaud
Le mardi 16 décembre 2014 à 13:02 +0100, Yann Droneaud a écrit : Le jeudi 11 décembre 2014 à 17:04 +0200, Haggai Eran a écrit : From: Sagi Grimberg sa...@mellanox.com * Add a configuration option for enable on-demand paging support in the infiniband subsystem

Re: [PATCH v3 06/17] IB/core: Add support for extended query device caps

2014-12-16 Thread Yann Droneaud
Le jeudi 11 décembre 2014 à 17:04 +0200, Haggai Eran a écrit : From: Eli Cohen e...@dev.mellanox.co.il Add extensible query device capabilities verb to allow adding new features. ib_uverbs_ex_query_device is added and copy_query_dev_fields is used to copy capability fields to be used by both

First byte of private_data transfered with rdma_connect() is always 0

2014-12-16 Thread Fabian Holler
Hello, we are using the conn_param-private_data field to transfer data with the rdma_connect() call to the server. When it's done on a RDMA_PS_IB rdma_cm_id the first Byte of the private_data, that is received by the server is _always_ 0. When a RDMA_PS_TCP rdma_cm_id is used, the data is

Re: First byte of private_data transfered with rdma_connect() is always 0

2014-12-16 Thread Jack Wang
Found the bug. commit 56e620c453f2588cfc9898a41b110477f6417a5d Author: Jack Wang jinpu.w...@profitbricks.com Date: Tue Dec 16 15:44:17 2014 +0100 RDMA/cma: fix first byte overwritten for AF_IB If user attach private data for AF_IB, the first byte will be overwritten, because we

Re: Query regarding MAD_DEMUX and Secure Host

2014-12-16 Thread Jack Morgenstein
On Mon, 15 Dec 2014 15:07:58 +0530 Bob Biloxi iambobbil...@gmail.com wrote: am I correct in my understanding when i say that MAD_DEMUX feature is not required to be supported/implemented in Mellanox RoCE Drivers? It is required only for Infiniband drivers? Actually, you will need to

[PATCH] RDMA/cma: fix first byte overwritten for AF_IB

2014-12-16 Thread Jack Wang
If user attach private data for AF_IB, the first byte will be overwritten, because we always set the cma version no matter family is AF_IB, so move the version set inside if condition. Reported-by: Fabian Holler fabian.hol...@profitbricks.com Signed-off-by: Jack Wang jinpu.w...@profitbricks.com

Re: Query regarding MAD_DEMUX and Secure Host

2014-12-16 Thread Bob Biloxi
Hi Jack, Thank you so much for clarifying this. Now I understand. It all ties down to QP1. To support QP1, we need to support MAD_DEMUX This is really helpful. Best Regards, Bob On Tue, Dec 16, 2014 at 9:03 PM, Jack Morgenstein ja...@dev.mellanox.co.il wrote: On Mon, 15 Dec 2014 15:07:58

Re: [PATCH v3 06/17] IB/core: Add support for extended query device caps

2014-12-16 Thread Roland Dreier
On Tue, Dec 16, 2014 at 4:33 AM, Yann Droneaud ydrone...@opteya.com wrote: With the suggested change here, buffer overflow won't happen, but the error is silently ignored, allowing uverb to return a partial result, which is likely not expected by userspace as it's a bit difficult to handle it

RE: [PATCH for-next] RDMA/CMA: Mark IPv4 addresses correctly when the listener is IPv6

2014-12-16 Thread Hefty, Sean
Any comment? can you please ack the patch or continue the discussion? My concerns were addressed, so I have no further issues. -- 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

Re: [PATCH v3 06/17] IB/core: Add support for extended query device caps

2014-12-16 Thread Or Gerlitz
On Tue, Dec 16, 2014 at 7:41 PM, Roland Dreier rol...@kernel.org wrote: On Tue, Dec 16, 2014 at 4:33 AM, Yann Droneaud ydrone...@opteya.com wrote: With the suggested change here, buffer overflow won't happen, but the error is silently ignored, allowing uverb to return a partial result, which

Re: [PATCH v3 06/17] IB/core: Add support for extended query device caps

2014-12-16 Thread Yann Droneaud
Hi, Le mardi 16 décembre 2014 à 22:07 +0200, Or Gerlitz a écrit : On Tue, Dec 16, 2014 at 7:41 PM, Roland Dreier rol...@kernel.org wrote: On Tue, Dec 16, 2014 at 4:33 AM, Yann Droneaud ydrone...@opteya.com wrote: With the suggested change here, buffer overflow won't happen, but the error

[ANNOUNCE] libibumad 1.3.10 release

2014-12-16 Thread Hal Rosenstock
There is a new 1.3.10 release of libibumad. Tarball is available in: http://www.openfabrics.org/downloads/management/ (listed in http://www.openfabrics.org/downloads/management/latest.txt) md5sum: 3a4046ddaaf43bbb82f124808232a294 libibumad-1.3.10.tar.gz All component versions are from recent

RE: [PATCH] RDMA/cma: fix first byte overwritten for AF_IB

2014-12-16 Thread Hefty, Sean
If user attach private data for AF_IB, the first byte will be overwritten, because we always set the cma version no matter family is AF_IB, so move the version set inside if condition. Reported-by: Fabian Holler fabian.hol...@profitbricks.com Signed-off-by: Jack Wang

[ANNOUNCE] dapl-2.1.3-1 release

2014-12-16 Thread Davis, Arlin R
New release for DAPL (2.1.3) is available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 3.18 daily builds. Latest Packages (see ChangeLog for recent changes, see README.mcm for MIC support): md5sum: 04537bdd405b89c562d73bfdd6027c2b dapl-2.1.3.tar.gz For package

Re: [PATCH for-next] RDMA/CMA: Mark IPv4 addresses correctly when the listener is IPv6

2014-12-16 Thread Or Gerlitz
On 12/16/2014 8:38 PM, Hefty, Sean wrote: Any comment? can you please ack the patch or continue the discussion? My concerns were addressed, so I have no further issues. OK, thanks, Roland, can you please move fwd and pick this one for the merge window too? Or. -- To unsubscribe from this

[PATCH] mlx4_core: Fix device capabilities dumping

2014-12-16 Thread Or Gerlitz
We are dumping device capabilities which are supported both by the firmware and the driver. Align the arrary that holds the capability strings with this practice. Reported-by: Yuval Shaia yuval.sh...@oracle.com Signed-off-by: Or Gerlitz ogerl...@mellanox.com ---

Re: [PATCH v3 06/17] IB/core: Add support for extended query device caps

2014-12-16 Thread Haggai Eran
On 16/12/2014 14:33, Yann Droneaud wrote: Le jeudi 11 décembre 2014 à 17:04 +0200, Haggai Eran a écrit : static inline int ib_copy_to_udata(struct ib_udata *udata, void *src, size_t len) { -return copy_to_user(udata-outbuf, src, len) ? -EFAULT : 0; +size_t copy_sz; + +