From: "Martin K. Petersen" Subject: Re: [PATCH v2 03/12] scsi-mq: Add support for multiple hardware queues Date: Mon, 27 Oct 2014 22:01:36 -0400 Message-ID: References: <5433E43D.3010107@acm.org> <5433E4AB.8030306@acm.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <5433E4AB.8030306-HInyCGIudOg@public.gmane.org> (Bart Van Assche's message of "Tue, 07 Oct 2014 15:03:39 +0200") Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche Cc: Christoph Hellwig , Jens Axboe , Sagi Grimberg , Sebastian Parschauer , Robert Elliott , Ming Lei , "linux-scsi@vger.kernel.org" , linux-rdma List-Id: linux-rdma@vger.kernel.org >>>>> "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 Bart> shost-> can_queue. In other words, the total queue depth per host Bart> is (number of hardware queues) * (shost->can_queue). I suggest you emphasize that assumption in the header file. Also: What about the host template? Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html