Re: [PATCH V9 8/9] vdpasim: vDPA device simulator

2020-04-10 Thread Jason Wang
On 2020/4/10 下午3:45, Geert Uytterhoeven wrote: Hi Jason, On Thu, Mar 26, 2020 at 3:07 PM Jason Wang wrote: This patch implements a software vDPA networking device. The datapath is implemented through vringh and workqueue. The device has an on-chip IOMMU which translates IOVA to PA. For

Re: [PATCH V9 8/9] vdpasim: vDPA device simulator

2020-04-10 Thread Geert Uytterhoeven
Hi Jason, On Thu, Mar 26, 2020 at 3:07 PM Jason Wang wrote: > This patch implements a software vDPA networking device. The datapath > is implemented through vringh and workqueue. The device has an on-chip > IOMMU which translates IOVA to PA. For kernel virtio drivers, vDPA > simulator driver

[PATCH V9 8/9] vdpasim: vDPA device simulator

2020-03-26 Thread Jason Wang
This patch implements a software vDPA networking device. The datapath is implemented through vringh and workqueue. The device has an on-chip IOMMU which translates IOVA to PA. For kernel virtio drivers, vDPA simulator driver provides dma_ops. For vhost driers, set_map() methods of vdpa_config_ops