From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 899AC377556 for ; Fri, 8 May 2026 09:04:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778231072; cv=none; b=DSUciqE+HO50pqeQd4yiwhVKK7fdci6+D5D5IG2ne/+reNQRyKbPUzyWleMrV1ES5TH9FzVMZyYd4Nam2pmfjgxJck5qUIZzlSlgHXcDqi2pI4kgqElb5rBzqIoxOsa2oAjV/ivDBvO37QrUtyPAlUClqjZpTvRCRr6UCpmxR0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778231072; c=relaxed/simple; bh=qgVxYQ8/7fOPwtc4LPr2vPuu+DhX6C+FO83DU5UFg3o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KhKdY/CeqKDOkoxgjH+U7rJIGGgX3j3JQOXbxXyTCoTVlWNH3fqnHAqM676mOGY/8b3Lh7a9+vwfZNa671Gmmi6fTBzKJbZFTgmWNqm9BSOHnFmmWQwhBk/vqbLNTDIPhy8NW/bPmFbIdcQNNWpOsE3ZDEEk/Qjt76VvmgIqyxw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 66EF968BFE; Fri, 8 May 2026 11:04:27 +0200 (CEST) Date: Fri, 8 May 2026 11:04:27 +0200 From: Christoph Hellwig To: Keith Busch Cc: Maurizio Lombardi , Chao Shi , linux-nvme@lists.infradead.org, Christoph Hellwig , Sagi Grimberg , Jens Axboe , Tatsuya Sasaki , linux-kernel@vger.kernel.org, Sungwoo Kim , Dave Tian , Weidong Zhu Subject: Re: [PATCH] nvme: reserve a keep-alive admin tag for all transports Message-ID: <20260508090427.GA20593@lst.de> References: <20260428022911.1288485-1-coshi036@gmail.com> 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: User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Apr 28, 2026 at 08:24:35AM +0100, Keith Busch wrote: > > This field specifies the timeout value for the Keep Alive feature in > > milliseconds. [...] > > The default value for this field is 0h for NVMe transports that do not require use of the Keep Alive > > feature (e.g., NVMe over PCIe). For NVMe transports that require use of the Keep Alive feature > > (e.g., RDMA and TCP), the default value for this field is 1D4C0h " > > > > To me, it sounds like for nvme-pci, keep alive isn't required, but could > > be activated. > > The spec says the support is subject to the Transport binding > specification, which does not exist in the PCIe transport spec. My memories from the fabrics working group back in the day is that we explicitly intended to support it in PCIe. The wording in the spec referring to transport specs I can find is: The NVMe Transport binding specification for the associated NVMe Transport defines: o the minimum Keep Alive Timeout value, if any; o the maximum Keep Alive Timeout value, if any; and o if the Keep Alive Timer feature is required to be supported and enabled. which does not read to me like there is any required language in the transport spec to require keep alive.