Re: [PATCH RFC] PCI: endpoint: Add NVMe endpoint function driver

From: Christoph Hellwig
Date: Mon Nov 11 2019 - 16:15:12 EST


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?-