vdpasim: vDPA device simulator
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 is implemented to accept mappings from vhost. Currently, vDPA device simulator will loopback TX traffic to RX. So the main use case for the device is vDPA feature testing, prototyping and development. Note, there's no management API implemented, a vDPA device will be registered once the module is probed. We need to handle this in the future development. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200326140125.19794-9-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
parent
4c8cf318
-
mentioned in commit f37c95d8
-
mentioned in commit 09af2d03
-
mentioned in commit 434887c6
-
mentioned in commit 19e5aac3
-
mentioned in commit 501c5eae
-
mentioned in commit 6b37451f
-
mentioned in commit 3ef3e42d
-
mentioned in commit 6a37a01a
-
mentioned in commit b4cca6d4
-
mentioned in commit 1cdbaf18
-
mentioned in commit ee6ef813
Please register or sign in to comment