[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d1c0c7ae-1a7d-06e5-d8bb-765a7fd5e41d@mellanox.com>
Date: Fri, 3 May 2019 22:00:54 +0300
From: Max Gurtovoy <maxg@...lanox.com>
To: Christoph Hellwig <hch@...radead.org>,
Maxim Levitsky <mlevitsk@...hat.com>
CC: Fam Zheng <fam@...hon.net>, <kvm@...r.kernel.org>,
Wolfram Sang <wsa@...-dreams.de>,
<linux-nvme@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
Keith Busch <keith.busch@...el.com>,
"Kirti Wankhede" <kwankhede@...dia.com>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
"Paul E . McKenney" <paulmck@...ux.ibm.com>,
Christoph Hellwig <hch@....de>,
Sagi Grimberg <sagi@...mberg.me>,
"Liang Cunming" <cunming.liang@...el.com>,
Jens Axboe <axboe@...com>,
"Alex Williamson" <alex.williamson@...hat.com>,
John Ferlan <jferlan@...hat.com>,
Liu Changpeng <changpeng.liu@...el.com>,
Jens Axboe <axboe@...nel.dk>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Paolo Bonzini <pbonzini@...hat.com>,
"Amnon Ilan" <ailan@...hat.com>,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH v2 06/10] nvme/core: add mdev interfaces
On 5/3/2019 3:29 PM, Christoph Hellwig wrote:
> On Thu, May 02, 2019 at 02:47:57PM +0300, Maxim Levitsky wrote:
>> If the mdev device driver also sets the
>> NVME_F_MDEV_DMA_SUPPORTED, the mdev core will
>> dma map all the guest memory into the nvme device,
>> so that nvme device driver can use dma addresses as passed
>> from the mdev core driver
> We really need a proper block layer interface for that so that
> uring or the nvme target can use pre-mapping as well.
I think we can also find a way to use nvme-mdev for the target offload
p2p feature.
Don't see a big difference of taking NVMe queue and namespace/partition
to guest OS or to P2P since IO is issued by external entity and pooled
outside the pci driver.
thoughts ?
>
> _______________________________________________
> Linux-nvme mailing list
> Linux-nvme@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-nvme
Powered by blists - more mailing lists