Displaying 1 result from an estimated 1 matches for "mdev_virtio_set_class_id".
2019 Nov 25
0
[RFC V4 2/2] This commit introduced IFC operations for vdpa
On 2019/11/20 ??5:17, Zhu Lingshan wrote:
> +
> + if (!strcmp(kobj->name, "ifcvf-virtio_mdev"))
> + mdev_virtio_set_class_id(mdev,MDEV_VIRTIO_CLASS_ID_VIRTIO);
> +
> + if (!strcmp(kobj->name, "ifcvf-vhost_mdev"))
> + mdev_virtio_set_class_id(mdev,MDEV_VIRTIO_CLASS_ID_VHOST);
> +
> + mdev_set_drvdata(mdev, adapter);
> + mdev_set_iommu_device(mdev_dev(mdev), dev);
> + adapter->mdev_cou...