Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp722272ybt; Fri, 26 Jun 2020 09:58:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxj8Pxt/kVR9dvCMvatO7rkkYfssYCQIypAh1vKp/5o9KIDYN5m3CXs+1iMhdDKfibZqNBV X-Received: by 2002:a17:906:c285:: with SMTP id r5mr3298285ejz.153.1593190710786; Fri, 26 Jun 2020 09:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593190710; cv=none; d=google.com; s=arc-20160816; b=XDWgsPXA1rSmaT85nhFlkSLPREMukou+BJwbFGaeCaTbQTAs13wdKBEgXGMoU+8SEE 6ARSaL8GeiXk4Cc0pU0T55TNXdg2xB4oAOQUcT+LsWo2F1kX2WxB743nw4yk6oPbDjkE PBP+3bSVJvSVM29qVZz0PTAndA5dSeAZjFlbj8TMmhIpRDzbevN2o3Rybuw5LbvshvSY WffjTFwEZYzbQ363ejUVGU0it4JmyAsTEoHEIp2mVRrUCtdsBXKqR1BAJD/66NHGSP7t FNIWOasjJ6h0ptbv5ka8LlkmVCAQH/Rx7Ab0n/hsLvvPob37vD7uprrt0XOS6cIbRiz/ x23w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from :dkim-signature; bh=W8C3oZCNAwI/CU7LQFgGNfn+5UNK6YrtFMNuciqpWTg=; b=E9mO12qPLNiwgzayMOCGMsRHaTPczJPGfosb4guRA6D4JWKw412g6AKoeSTklDD/rz 2l5kTHAqapxCFpvozrOTT3lQXG5QksSP9biWnzg2HOfOiisux2Vo56iPf5oZ2kbrFwMI 5Pbd1diHou6KRAng0olo+VyVT/uzK2Df+Glv9hLE8Gv253AiXXsRimLrKShL5rnpe3iK k3nvfH+2XKx6MQIWEN0lwGcOXVD70AHCKYyyRhISDgCbYZ315vyMHVdkdapXSmU7paWq CRUr9ReOXzU/Iv/XJnof8LE8/g1tpda6oDyHaCtLXgJ50jp1xVxrCcr4HTS3rgNzWUOh C0/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=FEJdUmHp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u17si4835210edd.139.2020.06.26.09.58.07; Fri, 26 Jun 2020 09:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=FEJdUmHp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726949AbgFZPjt (ORCPT + 99 others); Fri, 26 Jun 2020 11:39:49 -0400 Received: from ale.deltatee.com ([207.54.116.67]:34846 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729721AbgFZPji (ORCPT ); Fri, 26 Jun 2020 11:39:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W8C3oZCNAwI/CU7LQFgGNfn+5UNK6YrtFMNuciqpWTg=; b=FEJdUmHppv8osOMZhma2jxs5G0 dh4SU0QarSGdE5UXPn9LNMflraxw2vhZ9MfE/8ZWu2d/HHI0H4nQtEstRnQuIwzpGf0MRCDI/7p3/ 2Fgc62svRofyDRweubLqqVmZuzri8rj/reovpy5DXlg80YLJsLveNTUO6wMAqpgiQfEncACKtx4Tq 7jxAKreSoTKswbq1ncqB9jsYBmE4KuB2OBpX8k5AhSrHOZ7+hKSAk5s8vL54mvfg5Icri0B0kNegl sKGxlJ11yEO/xlMBkhAj06aSpXEJreFMdoMabUGkkkBdX/tvUPExdDi5RJRzM+I6M4M9CQAspBKRA srkzQpEA==; Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joqRu-0000oR-4A; Fri, 26 Jun 2020 09:39:34 -0600 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.92) (envelope-from ) id 1joqRn-0007HW-5X; Fri, 26 Jun 2020 09:39:23 -0600 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org Cc: Christoph Hellwig , Sagi Grimberg , Keith Busch , Jens Axboe , Chaitanya Kulkarni , Max Gurtovoy , Stephen Bates , Chaitanya Kulkarni , Logan Gunthorpe Date: Fri, 26 Jun 2020 09:39:13 -0600 Message-Id: <20200626153918.27929-5-logang@deltatee.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200626153918.27929-1-logang@deltatee.com> References: <20200626153918.27929-1-logang@deltatee.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, hch@lst.de, sagi@grimberg.me, kbusch@kernel.org, axboe@fb.com, maxg@mellanox.com, sbates@raithlin.com, Chaitanya.Kulkarni@wdc.com, chaitanya.kulkarni@wdc.com, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-6.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, MYRULES_NO_TEXT,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Subject: [PATCH v14 4/9] nvmet-passthru: Introduce NVMet passthru Kconfig option X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chaitanya Kulkarni This patch updates KConfig file for the NVMeOF target where we add new option so that user can selectively enable/disable passthru code. Signed-off-by: Chaitanya Kulkarni [logang@deltatee.com: fixed some of the wording in the help message] Signed-off-by: Logan Gunthorpe Reviewed-by: Sagi Grimberg --- drivers/nvme/target/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig index 4474952d64c6..b885a9fe38fa 100644 --- a/drivers/nvme/target/Kconfig +++ b/drivers/nvme/target/Kconfig @@ -16,6 +16,18 @@ config NVME_TARGET To configure the NVMe target you probably want to use the nvmetcli tool from http://git.infradead.org/users/hch/nvmetcli.git. +config NVME_TARGET_PASSTHRU + bool "NVMe Target Passthrough support" + depends on NVME_CORE + depends on NVME_TARGET + help + This enables target side NVMe passthru controller support for the + NVMe Over Fabrics protocol. It allows for hosts to manage and + directly access an actual NVMe controller residing on the target + side, incuding executing Vendor Unique Commands. + + If unsure, say N. + config NVME_TARGET_LOOP tristate "NVMe loopback device support" depends on NVME_TARGET -- 2.20.1