Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6704547ybx; Mon, 11 Nov 2019 13:19:18 -0800 (PST) X-Google-Smtp-Source: APXvYqzzndRaLmGwdvfMOOYuoldXI20LfRP6Gl8g8GwwGOZJJCwwn6DoM3Vji+vQ4CD73HIKszen X-Received: by 2002:a05:6402:1609:: with SMTP id f9mr29377562edv.37.1573507158449; Mon, 11 Nov 2019 13:19:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573507158; cv=none; d=google.com; s=arc-20160816; b=yAd22gv6GEjsONCiJqlQf+qzTD1OntC4RD/pDx/bXkiH+gqhsO5EAe/eTZeoCR9DRr /MBrvKoW+JKR6OWsNPhwI6oA2yDxiCVfWvpb+hyPQHnaF92Sob1Bd68zxNcFSM8ajqp8 E1l7qDcZwo4l8AuzKW7X3Tb2k4NUfdT+J1poN67HXO/XgIVbLZEmm5Jket+N7Iz+7uJ9 1wUgHp99Gsgb2x7vz2KK0qMjvRYmkaOGUxZN3qxtCuCX4qcJ0iushPwfvl1QIfktBCh3 LIdTE0DRgd/Hk3wSLR9lda4m6Raaw9Eafoe9tkBBCnanz2lj928GeUJPIBU8kW8YMQcJ h5mg== 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=e+hHtTBJgr12BywAlw7xA5SnpsHaPQx5fAMScMAbDnA=; b=MslfQ/5x0D4c6JGeMtU4KfGHF1SmcgCwyxsP6FdKO86BH58m+DFB8WLShaUAVqOsYO JV+uujUSG/lAIMUFIKCouY9ahKcIDbQZcjP7tiWejwraPqFGZtZiZ0Y6i6xQ6/zL7x0S 0bUOZJUwA2ilsvfr6NS/2PPyNNOlGRADdOY9S+jhL84qF0zkT1RMBNPNm00MF4AjFUB9 yL9NfPjtxln3ZFpxN8dKM3oRzmuU0A/3nHYD0vgJ7WupoajA7Wzqbd93aNK0yz18BxPe l4pBnSzvf5hz08K125blibkUB15LbwNHngs3g5kfuz4jB7G6IuGD8fD7ogcmpE2RoUsB WQ6A== 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 m13si1844793ejc.26.2019.11.11.13.18.54; Mon, 11 Nov 2019 13:19:18 -0800 (PST) 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 S1727021AbfKKVPJ (ORCPT + 99 others); Mon, 11 Nov 2019 16:15:09 -0500 Received: from verein.lst.de ([213.95.11.211]:52083 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726845AbfKKVPI (ORCPT ); Mon, 11 Nov 2019 16:15:08 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 58C6368B05; Mon, 11 Nov 2019 22:15:04 +0100 (CET) Date: Mon, 11 Nov 2019 22:15:03 +0100 From: Christoph Hellwig To: Alan Mikhak Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-nvme@lists.infradead.org, Kishon Vijay Abraham I , lorenzo.pieralisi@arm.com, Bjorn Helgaas , Palmer Dabbelt , Paul Walmsley Subject: Re: [PATCH RFC] PCI: endpoint: Add NVMe endpoint function driver Message-ID: <20191111211503.GA26588@lst.de> References: <1573493889-22336-1-git-send-email-alan.mikhak@sifive.com> <20191111203743.GA25876@lst.de> 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 01:09:17PM -0800, Alan Mikhak wrote: > Thanks Christoph. Let me repeat what I think your comment is saying to me. > You prefer all parsing for nvme command received from host over PCIe > to be removed from nvme function driver and added to existing fabrics > command parsing in nvme target code with new flags introduced to > indicate fabrics vs. PCIe. At least for all the common commands, yes. For Create / Delete SQ/CQ I am not entirely sure how to best implement them yet as there are valid arguments for keeping it entirely in the PCIe frontend or for having them in common code, and we'll need to figure out which weight more heavily. > Any more thoughts? I'd love to eventually find time to play with this code. Do you run it on unrelease SiFive hard cores, or is there a bitstream for a common FPGA platform available?-