Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751237AbdHCGdR (ORCPT ); Thu, 3 Aug 2017 02:33:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:49019 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751124AbdHCGdP (ORCPT ); Thu, 3 Aug 2017 02:33:15 -0400 Subject: Re: [PATCH v2 04/13] mpt3sas: Added support for nvme encapsulated request message. To: Suganath Prabu S , jejb@kernel.org, hch@infradead.org Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, Sathya.Prakash@broadcom.com, kashyap.desai@broadcom.com, linux-kernel@vger.kernel.org, chaitra.basappa@broadcom.com, sreekanth.reddy@broadcom.com, linux-nvme@lists.infradead.org References: <1500038560-11231-1-git-send-email-suganath-prabu.subramani@broadcom.com> <1500038560-11231-5-git-send-email-suganath-prabu.subramani@broadcom.com> From: Hannes Reinecke Message-ID: <75dcdeda-5f3c-cef0-9957-4588ac9624cc@suse.de> Date: Thu, 3 Aug 2017 08:33:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <1500038560-11231-5-git-send-email-suganath-prabu.subramani@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1283 Lines: 32 On 07/14/2017 03:22 PM, Suganath Prabu S wrote: > * Mpt3sas driver uses the NVMe Encapsulated Request message to > send an NVMe command to an NVMe device attached to the IOC. > > * Normal I/O commands like reads and writes are passed to the > controller as SCSI commands and the controller has the ability > to translate the commands to NVMe equivalent. > > * This encapsulated NVMe command is used by applications to send > direct NVMe commands to NVMe drives or for handling unmap where > the translation at controller/firmware level is having > performance issues. > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- > drivers/scsi/mpt3sas/mpt3sas_base.c | 56 ++++++++++++++++++++++++++++- > drivers/scsi/mpt3sas/mpt3sas_base.h | 1 + > drivers/scsi/mpt3sas/mpt3sas_ctl.c | 69 ++++++++++++++++++++++++++++++++--- > 3 files changed, 119 insertions(+), 7 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)