lkml.org 
[lkml]   [2019]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V6 6/6] docs: sample driver to demonstrate how to implement virtio-mdev framework
From
Date

On 2019/10/31 上午5:23, Christoph Hellwig wrote:
> On Wed, Oct 30, 2019 at 02:44:44PM +0800, Jason Wang wrote:
>> This sample driver creates mdev device that simulate virtio net device
>> over virtio mdev transport. The device is implemented through vringh
>> and workqueue. A device specific dma ops is to make sure HVA is used
>> directly as the IOVA. This should be sufficient for kernel virtio
>> driver to work.
>>
>> Only 'virtio' type is supported right now. I plan to add 'vhost' type
>> on top which requires some virtual IOMMU implemented in this sample
>> driver.
> Can we please submit a real driver for it? A more or less useless
> sample driver doesn't really qualify for our normal kernel requirements
> that infrastructure should have a real user.


Intel posted a real driver here: https://lkml.org/lkml/2019/10/15/1226.

I plan to post another driver that wire virito-pci back to mdev bus on
top of this series as well.

Thanks


\
 
 \ /
  Last update: 2019-10-31 02:47    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog