Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp924116ybl; Fri, 16 Aug 2019 06:17:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTuGZoCwymW8rKoa7hYl2Yls0zMo/sK2ykNKIYFFUePJYh3KCHT0oXUEB/dApE3u1ohzNc X-Received: by 2002:aa7:8392:: with SMTP id u18mr10853066pfm.72.1565961430216; Fri, 16 Aug 2019 06:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565961430; cv=none; d=google.com; s=arc-20160816; b=zHkxmSWv2y8S3c1SwM5mxRgPV06J767H2cayEHc4PNv3Lq/M5WIB1Lq9hbnehpLNeZ 9PTWxKaMrmn3phqNQoyCzPGfFQntqZ30wlK2bFp3XItjDmO5Mi27/PD7VlQLUVXv9xJz b+qK6WZwi4rSe3XNTdD6Xv9bLrdXcCDICxP1M1qC4lW+10Lu+HhHa+77RqcQWICW7K89 rkOQFDiyZI+WXncRGmgMepKsczPX8BYFX61ASV423nPe1Gop2lm4GHO+7/OxGJ9vUVl3 sVFF3Yz062XbfORYwB3KPzbKfnCjLUt4C5oszjrIEGjf4YvdXOHNGZP3L3hVdGDvcvsh pEKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jDqVKK/iQcdW6o4ReeytxXXin5nlA3H95/hxXnnog9k=; b=SzROhKtrINjiI4tjVGsEEiDDqzblE5XRQX2H7MRgRj+w5VNFMsWXUzZpKk0q0EYjUX FFtRzwXaf5BQCtBf/x/jKJ8i2bGNRa8tAwVrXABfyXMZ8CdfAeVtRzNrftS1n1dLjCaw URKXV5lloJ/q3riz8n86N6ta2rI63T319RB8pJ+ndnTkFKOYf1CTWYTFGsJU/CYC8Kkv 7CzWaVjSa32qxqYno1BRsmGjriJXpzPT3Qg1QXACjSnLneR+oCHLDnJe2PyS15x2KA0s PvtN6JS5EOulsDsGVK/bsfGqGcpXbuXmuuE7jlJwRWqurwz8YaeXxiu4yJLNpw9pehkp 9jLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si3959447plb.367.2019.08.16.06.16.52; Fri, 16 Aug 2019 06:17:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727199AbfHPNQM (ORCPT + 99 others); Fri, 16 Aug 2019 09:16:12 -0400 Received: from verein.lst.de ([213.95.11.211]:55485 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726597AbfHPNQL (ORCPT ); Fri, 16 Aug 2019 09:16:11 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 0CE1A68B05; Fri, 16 Aug 2019 15:16:07 +0200 (CEST) Date: Fri, 16 Aug 2019 15:16:06 +0200 From: Christoph Hellwig To: Marta Rybczynska Cc: kbusch@kernel.org, axboe@fb.com, hch@lst.de, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Samuel Jones , Guillaume Missonnier Subject: Re: [PATCH v2] nvme: allow 64-bit results in passthru commands Message-ID: <20190816131606.GA26191@lst.de> References: <89520652.56920183.1565948841909.JavaMail.zimbra@kalray.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <89520652.56920183.1565948841909.JavaMail.zimbra@kalray.eu> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sorry for not replying to the earlier version, and thanks for doing this work. I wonder if instead of using our own structure we'd just use a full nvme SQE for the input and CQE for that output. Even if we reserve a few fields that means we are ready for any newly used field (at least until the SQE/CQE sizes are expanded..). On Fri, Aug 16, 2019 at 11:47:21AM +0200, Marta Rybczynska wrote: > It is not possible to get 64-bit results from the passthru commands, > what prevents from getting for the Capabilities (CAP) property value. > > As a result, it is not possible to implement IOL's NVMe Conformance > test 4.3 Case 1 for Fabrics targets [1] (page 123). Not that I'm not sure passing through fabrics commands is an all that good idea. But we have pending NVMe TPs that use 64-bit result values as well, so this seems like a good idea in general.