OSDN Git Service

vDPA: add get_vq_irq() in vdpa_config_ops
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 31 Jul 2020 06:55:30 +0000 (14:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Aug 2020 15:08:42 +0000 (11:08 -0400)
commit7164675ab5caf46867d6a5448f4ff3af92d80a30
tree1d0250912b493975a46137d044607ef214148e10
parent2edd9cb79fb31b0907c6e0cdce2824780cf9b153
vDPA: add get_vq_irq() in vdpa_config_ops

This commit adds a new function get_vq_irq() in struct
vdpa_config_ops, which will return the irq number of a
virtqueue.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Suggested-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200731065533.4144-4-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/vdpa.h