[PATCH] Move nvme driver source into subdirectory and move pci specifics from core into separate file

Ming Lin mlin at kernel.org
Fri Oct 9 10:38:40 PDT 2015


On Sat, Sep 26, 2015 at 9:11 AM, Christoph Hellwig <hch at infradead.org> wrote:
> On Fri, Sep 25, 2015 at 10:32:36PM -0700, Ming Lin wrote:
>> >  a) move files to a new directory.  My suggestion for that would be
>> >     driver/nvme/host/ as I have a software NVMe controller
>> >     implementation under development which I'd like to also add under
>> >     a different subdirectory of drivers/nvme.
>>
>> What's the "software NVMe controller"? Is it the initiator for NVMe
>> over fabrics?
>
> It's a software implementation of the NVMe subsystem and controller
> interface.  It could be frontended by a future fabrics implementation,
> a virtio-nvme implementation, a nvme-loop implementation or with some
> additional work maybe even a Linux-based PCIe target device.

Hi Christoph,

I have been writing vhost-nvme driver for a while.
http://www.minggr.net/cgit/cgit.cgi/linux/commit/?h=vhost-nvme/v1

Seems I have to do similar submission/completion queue simulation
in vhost-nvme as in qemu/nvme.c.

Will the "software NVMe controller" do these simulation?
If yes, could you share a draft version then I can try build vhost-nvme
on top of it?

Thanks.



More information about the Linux-nvme mailing list