Re: [PATCH v2 03/12] scsi-mq: Add support for multiple hardware queues

2014-10-29 Thread Martin K. Petersen
> "Bart" == Bart Van Assche writes: Bart> Let me correct this: setting nr_hw_queues in the host template is Bart> not yet supported. If anyone would consider this useful, such Bart> functionality would be easy to add. It seemed like an obvious thing a device driver would want to describe in

RE: [GIT PULL] please pull infiniband.git

2014-10-29 Thread Estrin, Alex
> -Original Message- > From: linux-rdma-ow...@vger.kernel.org > [mailto:linux-rdma-ow...@vger.kernel.org] On > Behalf Of Doug Ledford > Sent: Monday, October 20, 2014 7:29 PM > To: Roland Dreier > Cc: Linus Torvalds; linux-rdma@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [

RE: Can someone help me understand the reason for this code in ib_isert.c?

2014-10-29 Thread Chris Moore
> On Wed, 2014-10-22 at 12:02 +0300, Or Gerlitz wrote: > > On 10/22/2014 8:06 AM, Nicholas A. Bellinger wrote: > > > On Tue, 2014-10-21 at 00:13 +0300, Or Gerlitz wrote: > > >> On Mon, Oct 20, 2014 at 6:29 PM, Chris Moore > wrote: > > >>> The following code is in isert_conn_setup_qp() in ib_isert.

[PATCH] IB/addr: Improve address resolution callback scheduling

2014-10-29 Thread Or Gerlitz
From: Or Kehati As of the callback model, the address resolution logic always does context switch to a work-queue to deliver the address resolution event. When the IP address is already cached in the system arp table, we're going through the following call chain: rdma_resolve_ip --> addr_resolv

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

2014-10-29 Thread Bart Van Assche
On 10/21/14 11:14, Sagi Grimberg wrote: On 10/7/2014 4:07 PM, Bart Van Assche wrote: spin_lock_irqsave(&ch->lock, flags); ch->req_lim += be32_to_cpu(rsp->req_lim_delta); @@ -1906,7 +1970,7 @@ static int srp_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *scmnd

Re: [PATCH v2 03/12] scsi-mq: Add support for multiple hardware queues

2014-10-29 Thread Bart Van Assche
On 10/29/14 13:22, Bart Van Assche wrote: Regarding nr_hw_queues and the SCSI host template: setting that parameter in the host template is supported. (replying to my own e-mail) Let me correct this: setting nr_hw_queues in the host template is not yet supported. If anyone would consider this

Re: [PATCH v2 03/12] scsi-mq: Add support for multiple hardware queues

2014-10-29 Thread Bart Van Assche
On 10/28/14 03:01, Martin K. Petersen wrote: "Bart" == Bart Van Assche writes: Bart> Allow a SCSI LLD to declare how many hardware queues it supports Bart> by setting Scsi_Host.nr_hw_queues before calling scsi_add_host(). Bart> Note: it is assumed that each hardware queue has a queue depth of

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

2014-10-29 Thread Bart Van Assche
On 10/28/14 19:32, Sagi Grimberg wrote: On 10/21/2014 12:10 PM, Sagi Grimberg wrote: On 10/20/2014 3:56 PM, Bart Van Assche wrote: On 10/19/14 19:36, Sagi Grimberg wrote: On 10/7/2014 4:07 PM, Bart Van Assche wrote: * comp_vector, a number in the range 0..n-1 specifying the -