[PATCH v2 libibverbs 1/2] Change rereg_mr API between libibverbs and the provider's library

2014-11-05 Thread Matan Barak
Currently, MR re-registration isn't implemented in libibverbs. The only part which does exist is an API call between libibverbs and the provider's library. Since there's no way for a user application to invoke this API call, it's safe to assume it's unused. Similarly to other verbs (for example,

[PATCH v2 libibverbs 0/2] Add memory re-registration support

2014-11-05 Thread Matan Barak
Hi Roland, These two patches add memory region re-registration support. Memory re-registration is a feature that enables one to change the attributes of a memory region, including PD, translation (address and length) and access flags. The first patch changes the API between libibverbs and the

[PATCH v2 libibverbs 2/2] Add MR re-registeration

2014-11-05 Thread Matan Barak
Memory re-registeration is a feature that enables one to change the attributes of a memory region, including PD, translation (address and length) and access flags. Signed-off-by: Matan Barak mat...@mellanox.com Signed-off-by: Or Gerlitz ogerl...@mellanox.com --- include/infiniband/driver.h |

Re: [PATCH] net/mlx4_core: Convert rcu locking to rwlock in CQ.

2014-11-05 Thread zheng.li
于 2014年11月04日 19:32, Shachar Raindel 写道: -Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Sagi Grimberg Sent: Tuesday, November 04, 2014 12:52 PM To: Zheng Li; linux-rdma@vger.kernel.org; Or Gerlitz; Yishai Hadas;

Re: [PATCH v2 12/12] IB/srp: Add multichannel support

2014-11-05 Thread Sagi Grimberg
On 11/5/2014 6:57 AM, Elliott, Robert (Server Storage) wrote: -Original Message- From: Sagi Grimberg [mailto:sa...@dev.mellanox.co.il] Sent: Tuesday, November 04, 2014 6:15 AM To: Bart Van Assche; Elliott, Robert (Server Storage); Christoph Hellwig Cc: Jens Axboe; Sagi Grimberg;

Re: [PATCH v3 01/11] blk-mq: Add blk_mq_unique_tag()

2014-11-05 Thread Bart Van Assche
On 11/04/14 15:14, Christoph Hellwig wrote: I've applied patches 1-3 to the core-for-3.19 branch. Various srp patches, including the first one fail to apply for me. Can you regenerate them against the drivers-for-3.19 branch? Thanks! Hello Christoph, That's strange. I have compared the

Re: [PATCH 0/3] DAPL support on s390x platform

2014-11-05 Thread Utz Bacher
Hi Roland, Alexey Ishchuk aishc...@linux.vnet.ibm.com wrote on 10.10.2014 11:34:14: This patch series contains the changes to kernel and users pace libraries required to provide support for the DAPL API on s390x platform. [...] [PATCH 1/3] s390/kernel: add system calls for access PCI memory

Re: [PATCH v3 01/11] blk-mq: Add blk_mq_unique_tag()

2014-11-05 Thread Christoph Hellwig
On Wed, Nov 05, 2014 at 01:37:14PM +0100, Bart Van Assche wrote: That's strange. I have compared the patches that are already in your tree with the patches I had posted myself with a diff tool. These patches look identical to what I had posted except for one CC tag that has been left out. If I

Re: [PATCHv2 net-next 0/3] RDMA/cxgb4,cxgb4vf,cxgb4i,csiostor: Cleanup macros

2014-11-05 Thread David Miller
From: Hariprasad Shenai haripra...@chelsio.com Date: Tue, 4 Nov 2014 08:20:54 +0530 It's not really the hardware which generates these hardware constant symbolic macros/register defines of course, it's scripts developed by the hardware team. Various patches have ended up changing the

[PATCH infiniband-diags] saquery.c: Return proper status from query_sa_cpi on bad result status

2014-11-05 Thread Hal Rosenstock
When result status was other than IB_SA_MAD_STATUS_SUCCESS, 0 was being returned rather than EIO as intended. Signed-off-by: Hal Rosenstock h...@mellanox.com --- diff --git a/src/saquery.c b/src/saquery.c index 0f39064..1af3401 100644 --- a/src/saquery.c +++ b/src/saquery.c @@ -1445,7 +1445,7 @@

[PATCH infiniband-diags] saquery.c: Fix handling of cpi and ClassPortInfo options

2014-11-05 Thread Hal Rosenstock
Need to check if query_type is CLASS_PORT_INFO in order to handle saquery [cpi | ClassPortInfo]. Otherwise, it just dumps ClassPortInfo attribute as all 0s. Note that saquery -c works fine because it set command to SAQUERY_CMD_CLASS_PORT_INFO. Signed-off-by: Hal Rosenstock h...@mellanox.com ---