NVME: is there any plan to support SGL data transfer?
Hi,
When going through NVMe specification and hw/block/nvme.c,
I found that it seems that NVMe qemu implementation only support PRP for sq entry. And NvmeRwCmd doesn't even use union to define DPTR, but just prp1 and prp2.
Although I am just a newbie, but I'm quite interested in NVMe and want to try to implement SGL support for qemu NVMe.
Is there anyone already doing such work? Or is there any plan on implement such feature?
Thanks,
Qu
Am 02.06.2017 um 03:47 hat Qu Wenruo geschrieben:
Quoted 10 lines
When going through NVMe specification and
hw/block/nvme.c,
I found that it seems that NVMe qemu implementation only support PRP for sq entry.
And NvmeRwCmd doesn't even use union to define DPTR, but just prp1 and prp2.Although I am just a newbie, but I'm quite interested in NVMe and want to try to implement SGL support for qemu NVMe.
Is there anyone already doing such work? Or is there any plan on implement such feature?
Keith, you can probably answer this?
Kevin
Quoted 6 lines · Kevin Wolf
Am 02.06.2017 um 03:47 hat Qu Wenruo geschrieben:
Quoted 5 lines
When going through NVMe specification and
hw/block/nvme.c,
I found that it seems that NVMe qemu implementation only support PRP for sq entry.
And NvmeRwCmd doesn't even use union to define DPTR, but just prp1 and prp2.
Quoted 7 lines
Quoted 5 lines
Although I am just a newbie, but I'm quite interested in NVMe and want to try to implement SGL support for qemu NVMe.
Is there anyone already doing such work? Or is there any plan on implement such feature?
Keith, you can probably answer this?
Hi,
I personally have no plans to implement it, but would be happy to see it added if someone wants to send the patch for review.
Thanks,
Keith
Quoted 13 lines · Keith Busch
Quoted 12 lines · Kevin Wolf
Am 02.06.2017 um 03:47 hat Qu Wenruo geschrieben:
Quoted 10 lines
When going through NVMe specification and
hw/block/nvme.c,
I found that it seems that NVMe qemu implementation only support PRP for sq entry.
And NvmeRwCmd doesn't even use union to define DPTR, but just prp1 and prp2.Although I am just a newbie, but I'm quite interested in NVMe and want to try to implement SGL support for qemu NVMe.
Is there anyone already doing such work? Or is there any plan on implement such feature?
Quoted 6 lines
Quoted 1 line
Keith, you can probably answer this?
Hi,
I personally have no plans to implement it, but would be happy to see it added if someone wants to send the patch for review.
Glad to hear that.
I have already submitted preparation patch to update nvme.h for SGL structures and introduced needed error code according to NVMe 1.3 spec.
It would be quite nice if anyone is interested in that patchset.
Thanks,
Qu
Quoted 5 lines
Thanks,
Keith
Quoted 13 lines · Keith Busch
Quoted 12 lines · Kevin Wolf
Am 02.06.2017 um 03:47 hat Qu Wenruo geschrieben:
Quoted 10 lines
When going through NVMe specification and
hw/block/nvme.c,
I found that it seems that NVMe qemu implementation only support PRP for sq entry.
And NvmeRwCmd doesn't even use union to define DPTR, but just prp1 and prp2.Although I am just a newbie, but I'm quite interested in NVMe and want to try to implement SGL support for qemu NVMe.
Is there anyone already doing such work? Or is there any plan on implement such feature?
Quoted 6 lines
Quoted 1 line
Keith, you can probably answer this?
Hi,
I personally have no plans to implement it, but would be happy to see it added if someone wants to send the patch for review.
Glad to hear that.
I have submitted some preparation patch to update nvme.h for SGL and added needed error code for it.
It would be very nice if anyone could review it.
Thanks,
Qu
Quoted 5 lines
Thanks,
Keith