From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE2F1C25B47 for ; Tue, 24 Oct 2023 06:51:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Pau3+0/NlGfzN9CKQqjt2HZnTXnCBU9sg9VtB1cLmgk=; b=UpaVTaoPaftJwm59GITjf8KoNi eQP0+aEI+7yrtM0FeuZJT10NungmlC3bONXEjelhI/kl4cInpchdCY5ME8C/vqZWK0LlKWSaAqbdg CaWqB8F2wySSqsc70kd6dEwr9xtIQXwFyN+bJ2XGOYqeDDXJty7EdMdINJS9vaxdt8b3NOlCS4ABN pfqbM/EB3Bjc/pnlJaAp0I6LEP8wJcAqPFTvit9s0UMr9M5KY78pi+m/wFuNKVr7yhOrhqhqSTr0B Mx3aOPlN2yJ8L6TWEB37W7Sz+pRjSoqzh3JvI7vj0585Nr0OAZCWieDOScTULaOiLnHtuW34e62Rp rwaXDjNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvBGY-00916j-1I; Tue, 24 Oct 2023 06:51:50 +0000 Received: from smtp-out2.suse.de ([195.135.220.29]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvBGV-00915r-0o for linux-nvme@lists.infradead.org; Tue, 24 Oct 2023 06:51:48 +0000 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id F21091FE62; Tue, 24 Oct 2023 06:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1698130304; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pau3+0/NlGfzN9CKQqjt2HZnTXnCBU9sg9VtB1cLmgk=; b=IzyLFtugKO/iNGNt92HdpOTQnrsAC8YBcdKV4hr55PD+vm5QPZg9y2bDyqnTwxNdmMRcWV mf0ku1vBhTHWShPn8AOZ1jswFDaaklt9Ibhvv1ODz7zflIZuMIF3gEdLCfVwB0xI/TPbox PAz9U3PywIZ9LKBjv+MnVSGwSjWC3I0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1698130304; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pau3+0/NlGfzN9CKQqjt2HZnTXnCBU9sg9VtB1cLmgk=; b=FoIPCbxl1AfgJMZUJD6LHheQsYUwgsaWl1S1VWp6B3+jtXHcCqYhLJ50MxJjIAk8yF4VCE uBgcwPIFSItmkJBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BC4BE1391C; Tue, 24 Oct 2023 06:51:43 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id PEnWLH9pN2UvLwAAMHmgww (envelope-from ); Tue, 24 Oct 2023 06:51:43 +0000 Message-ID: Date: Tue, 24 Oct 2023 08:51:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: blktests: running nvme and srp tests with real RDMA hardware Content-Language: en-US To: Chaitanya Kulkarni , Shinichiro Kawasaki , "linux-block@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "linux-scsi@vger.kernel.org" Cc: Daniel Wagner , Sagi Grimberg , Bart Van Assche References: <4bdf4031-5f14-4cb1-92d3-7ae106a4a73f@nvidia.com> From: Hannes Reinecke In-Reply-To: <4bdf4031-5f14-4cb1-92d3-7ae106a4a73f@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [-7.09 / 50.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_LONG(-3.00)[-1.000]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_SEVEN(0.00)[8]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_235147_447759_0C60A1B5 X-CRM114-Status: GOOD ( 15.86 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On 10/24/23 07:55, Chaitanya Kulkarni wrote: > On 10/23/23 22:43, Hannes Reinecke wrote: >> On 10/24/23 04:59, Shinichiro Kawasaki wrote: >>> Hello blktests users, >>> >>> As of today, software RDMA driver "siw" or "rdma_rxe" is used to run >>> "nvme" >>> group with nvme_trtype=rdma or "srp" (scsi rdma protocol) group. Now >>> it is >>> suggested to run the test groups with real RDMA hardware to run tests in >>> more realistic conditions. A GitHub pull request is under review to >>> support >>> it [1]. If you are interested in, please take a look and comment. >>> >>> [1] https://github.com/osandov/blktests/pull/86 >> >> Just commented on it. What we really need is the functionality to run >> against pre-configured controllers (ie specify the controller NQN and >> NSID and do not call into nvmetcli); when running on real HW we >> typically cannot control the target, so we need to be able to specify >> a preconfigured namespace. >> >> Cheers, >> >> Hannes > > What format you think use to accept the pre configured namespace ? > thinking out loudly Can relay and we use nvmetcli config file somehow > for local loop back setup ? > Ideally I would hide it behind the call to '_setup_nvmet' / '_nvmet_target_setup' / '_nvmet_target_cleanup'. We already have 'def_subsysnqn', which should be set to the pre-provisioned NQN. We clearly need a 'def_nsid', but that should be easily done. Biggest problem here will be the 'out' files. Most of them record the default NQN, so if we allow to change that the tests will break. How can we abstract away from that? Maybe it's a good exercise even with the current codebase; just set 'def_subsysnqn' to something else and watch what breaks ... Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman