search for: __vdpa_register_driver

Displaying 6 results from an estimated 6 matches for "__vdpa_register_driver".

2020 Feb 10
0
[PATCH V2 3/5] vDPA: introduce vDPA bus
...+ * @vdev: the vdpa device to be unregisted from vDPA bus + */ +void vdpa_unregister_device(struct vdpa_device *vdev) +{ + int index = vdev->index; + + device_unregister(&vdev->dev); + ida_simple_remove(&vdpa_index_ida, index); +} +EXPORT_SYMBOL_GPL(vdpa_unregister_device); + +/** + * __vdpa_register_driver - register a vDPA device driver + * @drv: the vdpa device driver to be registered + * @owner: module owner of the driver + * + * Returns an err when fail to do the registration + */ +int __vdpa_register_driver(struct vdpa_driver *drv, struct module *owner) +{ + drv->driver.bus = &vdpa_bus; +...
2020 Feb 20
0
[PATCH V3 3/5] vDPA: introduce vDPA bus
...a_register_device); + +/** + * vdpa_unregister_device - unregister a vDPA device + * @vdev: the vdpa device to be unregisted from vDPA bus + */ +void vdpa_unregister_device(struct vdpa_device *vdev) +{ + device_unregister(&vdev->dev); +} +EXPORT_SYMBOL_GPL(vdpa_unregister_device); + +/** + * __vdpa_register_driver - register a vDPA device driver + * @drv: the vdpa device driver to be registered + * @owner: module owner of the driver + * + * Returns an err when fail to do the registration + */ +int __vdpa_register_driver(struct vdpa_driver *drv, struct module *owner) +{ + drv->driver.bus = &vdpa_bus; +...
2020 Apr 01
0
mmotm 2020-03-30-18-46 uploaded (VDPA + vhost)
...nstantly rebasing. >>>>> >>>>> https://github.com/hnaz/linux-mm >>>> >>>> on i386: >>>> >>>> ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_init': >>>> vdpa.c:(.init.text+0x52): undefined reference to `__vdpa_register_driver' >>>> ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_exit': >>>> vdpa.c:(.exit.text+0x14): undefined reference to `vdpa_unregister_driver' >>>> >>>> >>>> >>>> drivers/virtio/vdpa/ is not being built. (confusing!)...
2020 Feb 20
5
[PATCH V4 0/5] vDPA support
Hi all: This is an update version of vDPA support in kernel. vDPA device is a device that uses a datapath which complies with the virtio specifications with vendor specific control path. vDPA devices can be both physically located on the hardware or emulated by software. vDPA hardware devices are usually implemented through PCIE with the following types: - PF (Physical Function) - A single
2020 Feb 20
9
[PATCH V3 0/5] vDPA support
Hi all: This is an update version of vDPA support in kernel. vDPA device is a device that uses a datapath which complies with the virtio specifications with vendor specific control path. vDPA devices can be both physically located on the hardware or emulated by software. vDPA hardware devices are usually implemented through PCIE with the following types: - PF (Physical Function) - A single
2020 Feb 10
9
[PATCH V2 0/5] vDPA support
Hi all: This is an updated version of kernel support for vDPA device. Various changes were made based on the feedback since last verion. One major change is to drop the sysfs API and leave the management interface for future development, and introudce the incremental DMA bus operations. Please see changelog for more information. The work on vhost, IFCVF (intel VF driver for vDPA) and qemu is