Re: [PATCH-v2] ib_srpt: Initial SRP Target merge for v3.2-rc1

2011-10-26 Thread Bart Van Assche
On Mon, Oct 24, 2011 at 7:57 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: +static int srpt_write_pending(struct se_cmd *se_cmd) +{ +       struct srpt_rdma_ch *ch; +       struct srpt_send_ioctx *ioctx; +       enum srpt_command_state new_state; +       enum rdma_ch_state ch_state;

Re: [PATCH-v2] ib_srpt: Initial SRP Target merge for v3.2-rc1

2011-10-26 Thread Nicholas A. Bellinger
On Wed, 2011-10-26 at 08:09 +0200, Bart Van Assche wrote: On Mon, Oct 24, 2011 at 7:57 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: +static int srpt_write_pending(struct se_cmd *se_cmd) +{ + struct srpt_rdma_ch *ch; + struct srpt_send_ioctx *ioctx; + enum

Re: [PATCH for-3.2] IBoE fixes

2011-10-26 Thread Or Gerlitz
On 10/10/2011 10:51 AM, Or Gerlitz wrote: This is a batch of IBoE related fixes plus addition of extended PMA counters. Hi Roland, With the merge window opening around yesterday, just checking if we're on track for merging this patch set into 3.2 (I sent V1 for patch #3 as you asked).

[PATCH] ib_srpt: Make srpt_map_sg_to_ib_sge() failure case return -EAGAIN

2011-10-26 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch makes the failure case in srpt_map_sg_to_ib_sge() for ib_dma_map_sg() return -EAGAIN so that this failure will trigger target-core QUEUE_FULL logic from srpt_xfer_data() for srpt_write_pending() WRITEs and srpt_queue_response() for READs.

RE: Are there are problems using the CMA with IPv6?

2011-10-26 Thread Hefty, Sean
Subject: Are there are problems using the CMA with IPv6? IPv6 should work fine. I noticed the following code in the cmatose/rping examples: but, I can't say whether all of the examples support ipv6. I believe that they do. snip start static int get_addr(char *dst, struct sockaddr *addr)

RE: [PATCH] rdma/cma: fixed resource leak in case of an error in udaddy

2011-10-26 Thread Hefty, Sean
thanks - applied -- 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: mlx4 missing completions (was Re: [PATCH-v2] ib_srpt: Initial SRP Target merge for v3.2-rc1)

2011-10-26 Thread Bart Van Assche
On Wed, Oct 26, 2011 at 12:04 AM, Roland Dreier rol...@purestorage.com wrote: Sorry, but now I confused about what the bug is.  You have a QP associated with an SRQ, and you transition the QP to error.  At some point you get a last WQE received event for that QP (which means all receive

Re: [PATCH 5/9] ib_srpt: Fix sport-port_guid formatting code

2011-10-26 Thread Bart Van Assche
On Mon, Oct 24, 2011 at 10:25 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Mon, 2011-10-24 at 21:57 +0200, Bart Van Assche wrote: On Mon, Oct 24, 2011 at 7:33 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: +               snprintf(sport-port_guid, sizeof(sport-port_guid),

libibverbs git repository

2011-10-26 Thread Steve Wise
Hey Roland, Where is the libibverbs git repository these days? I don't see it at git.kernel.org. $ git clone git://git.kernel.org/pub/scm/libs/infiniband/libibverbs Initialized empty Git repository in /home/swise/src/libibverbs/.git/ fatal: The remote end hung up unexpectedly Steve. -- To

Re: libibverbs git repository

2011-10-26 Thread Roland Dreier
It's not anywhere at the moment. I should be back on kernel.org shortly... On Wed, Oct 26, 2011 at 1:47 PM, Steve Wise sw...@opengridcomputing.com wrote: Hey Roland, Where is the libibverbs git repository these days?  I don't see it at git.kernel.org. $ git clone

[PATCH] DAPL v2.0: common: query calls return incorrect IA handle to consumer

2011-10-26 Thread Davis, Arlin R
The IA handle from the consumer perspective is an IA vector and not the provider IA address handle. Need to convert IA handle to IA vector for consumer calls. Modify dats_ia_get_handle call to convert both ways depending on handle type provided so a dapl provider can convert to vector on query

[PATCH] DAPL v2.0: common: srq create asserts with !dapl_llist_is_empty(head) failed

2011-10-26 Thread Davis, Arlin R
return DAT_NOT_IMPLEMENTED before allocating any resources until there is a provider that supports SRQ's. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_srq_create.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH] DAPL v2.0: scm: add port number to error log during hca_open failures

2011-10-26 Thread Davis, Arlin R
scm: add port number to error log during hca_open failures Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/device.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dapl/openib_scm/device.c b/dapl/openib_scm/device.c index 41fccdf..77c64e3 100644

[PATCH 2/3] DAPL v2.0: scm: socket connect request count is reset improperly on retry

2011-10-26 Thread Davis, Arlin R
Include current retry count with the new connect request call and set according after creating the new cm object. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c | 23 --- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git

[PATCH 3/3] DAPL v2.0: scm: dat_psp_create returns wrong error code on bind/listen failure

2011-10-26 Thread Davis, Arlin R
The SCM provider changed to return DAT_INVALID_PARAMTER instead of incorrect DAT_CONN_QUAL_UNAVAILABLE error code on any bind or listen failure. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff

[PATCH] infiniband-diags: clean up build

2011-10-26 Thread Ira Weiny
Signed-off-by: Ira Weiny wei...@llnl.gov --- Makefile.am |1 - configure.in | 12 2 files changed, 0 insertions(+), 13 deletions(-) diff --git a/Makefile.am b/Makefile.am index d7e8ce7..ea85280 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,7 +42,6 @@ AM_CFLAGS = -Wall

[PATCH] infiniband-diags: iblinkinfo flag ports which were not scanned

2011-10-26 Thread Ira Weiny
When using the -n option iblinkinfo may not scan the entire fabric. As such some ports will not be available to print. Output that information rather than blank data as before. Signed-off-by: Ira Weiny wei...@llnl.gov --- src/iblinkinfo.c |8 ++-- 1 files changed, 6 insertions(+), 2

Re: [PATCH 5/9] ib_srpt: Fix sport-port_guid formatting code

2011-10-26 Thread Nicholas A. Bellinger
On Wed, 2011-10-26 at 20:23 +0200, Bart Van Assche wrote: On Mon, Oct 24, 2011 at 10:25 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Mon, 2011-10-24 at 21:57 +0200, Bart Van Assche wrote: On Mon, Oct 24, 2011 at 7:33 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: +