Jason Wang
2020-Jul-13 08:28 UTC
[PATCH 5/7] virtio_vdpa: init IRQ offloading function pointers to NULL.
On 2020/7/12 ??10:49, Zhu Lingshan wrote:> This commit initialize IRQ offloading function pointers in > virtio_vdpa_driver to NULL. Becasue irq offloading only focus > on VMs for vhost_vdpa. > > Signed-off-by: Zhu Lingshan <lingshan.zhu at intel.com> > --- > drivers/virtio/virtio_vdpa.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/virtio/virtio_vdpa.c b/drivers/virtio/virtio_vdpa.c > index c30eb55..1e8acb9 100644 > --- a/drivers/virtio/virtio_vdpa.c > +++ b/drivers/virtio/virtio_vdpa.c > @@ -386,6 +386,8 @@ static void virtio_vdpa_remove(struct vdpa_device *vdpa) > }, > .probe = virtio_vdpa_probe, > .remove = virtio_vdpa_remove, > + .setup_vq_irq = NULL, > + .unsetup_vq_irq = NULL, > };Is this really needed consider the it's static? Thanks> > module_vdpa_driver(virtio_vdpa_driver);
Maybe Matching Threads
- [PATCH 5/7] virtio_vdpa: init IRQ offloading function pointers to NULL.
- [PATCH V2 4/5] virtio: introduce a vDPA based transport
- [PATCH V3 4/5] virtio: introduce a vDPA based transport
- [PATCH 4/7] vDPA: implement IRQ offloading helpers in vDPA core
- [PATCH V2 3/6] vDPA: implement IRQ offloading helpers in vDPA core