From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7B18285071 for ; Wed, 26 Nov 2025 08:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764144759; cv=none; b=LuGxT6Ep1MVTMv1lTarMDXZ3WZu2Xx202vs5j3fyhu1HR/HIUcO2OUQpqkG1fTzgd9DgTN/g7GKHTdgeskmX/Eu3gxfg47qi5apOIryAwL1b2ghVFIXZGh86iwVieATFZKKTdERoUUU4N2BPdbwxTvlVdMU+Sj+HdGnOAHuDYRA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764144759; c=relaxed/simple; bh=M/aIaxxNkP9U84m+9QZaAGJBI0alkfC59NzvIPZsQCo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eCeIRZFRJs208x2IBYwHYAtxg7nHiMb/TitquKyOlpJS6o1x4eYBOUjFvga9qM0rHwCHpZmBY/7ehJLcyLgNrXkDMnLfXCoitdyP+WqDs/zlpodkbO+FNeBO1Bw0kP6E6rseJilRw/1NY47o3sWy7b/GEkpoHpyTKRt9+3xyIfs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=NRJvcDgu; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=1Hgs/5rq; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=NRJvcDgu; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=1Hgs/5rq; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="NRJvcDgu"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="1Hgs/5rq"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="NRJvcDgu"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="1Hgs/5rq" Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B686A22C45; Wed, 26 Nov 2025 08:12:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1764144755; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hmp7Bf14JrjCza+81dFJ7uau3glMxs5otPf+R7hEmoM=; b=NRJvcDgug5+dGJcnbBZ5o1yznzrTp//J92UIoYaYjchKeCI4beh31m4BgGVsAaHdlcpx9O 4tkItIl5sFKvVgNbcUu9lTUrz7rxeEU9zxmEOhCIWeJks/aD3bj5Xn+c21t/4WD5Rlpegh do5oPTFqM12OvdEGOe4HcMVLrvzcw70= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1764144755; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hmp7Bf14JrjCza+81dFJ7uau3glMxs5otPf+R7hEmoM=; b=1Hgs/5rqkj1jmie/vLv3i+KXX36rmivYTyMfY+AFsHhjTTM648vtWaktn4Cia3RcrKJyHu WGb5UwyYhv7e0NAg== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1764144755; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hmp7Bf14JrjCza+81dFJ7uau3glMxs5otPf+R7hEmoM=; b=NRJvcDgug5+dGJcnbBZ5o1yznzrTp//J92UIoYaYjchKeCI4beh31m4BgGVsAaHdlcpx9O 4tkItIl5sFKvVgNbcUu9lTUrz7rxeEU9zxmEOhCIWeJks/aD3bj5Xn+c21t/4WD5Rlpegh do5oPTFqM12OvdEGOe4HcMVLrvzcw70= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1764144755; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hmp7Bf14JrjCza+81dFJ7uau3glMxs5otPf+R7hEmoM=; b=1Hgs/5rqkj1jmie/vLv3i+KXX36rmivYTyMfY+AFsHhjTTM648vtWaktn4Cia3RcrKJyHu WGb5UwyYhv7e0NAg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A861A3EA63; Wed, 26 Nov 2025 08:12:35 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id p1ghKHO2Jmk6SQAAD6G6ig (envelope-from ); Wed, 26 Nov 2025 08:12:35 +0000 Date: Wed, 26 Nov 2025 09:12:31 +0100 From: Daniel Wagner To: Justin Tee Cc: Hannes Reinecke , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, jsmart2021@gmail.com, justin.tee@broadcom.com, Daniel Wagner Subject: Re: [PATCH 1/1] nvme-fabrics: add ENOKEY to no retry criteria for authentication failures Message-ID: <3ac161db-5be6-4edf-b392-6769dc507e60@flourine.local> References: <20251117184343.97605-1-justintee8345@gmail.com> <788c2c3e-1293-447d-a43b-17d5026ce1db@flourine.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <788c2c3e-1293-447d-a43b-17d5026ce1db@flourine.local> X-Spamd-Result: default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FUZZY_RATELIMITED(0.00)[rspamd.com]; RCPT_COUNT_SEVEN(0.00)[7]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[suse.de,lists.infradead.org,vger.kernel.org,gmail.com,broadcom.com,kernel.org]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo] X-Spam-Flag: NO X-Spam-Score: -4.30 X-Spam-Level: On Tue, Nov 25, 2025 at 11:34:40AM +0100, Daniel Wagner wrote: > As I said your fix is good and addresses the reconnect with an invalid > key problem. Though it doesn't address the issue that 'nvme connect' > will still return success. To my surprise this is not happening. nvme/041 is behaving for all transport the same. I've extended blktests to check the return code for 'nvme connect' https://github.com/linux-blktests/blktests/pull/216 So your patch fixes this problem completely. Nice! Thanks, Daniel