Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 1/2] vDPA: get_vq_irq() should be optional
@ 2020-08-05 11:37 Zhu Lingshan
0 siblings, 0 replies; only message in thread
From: Zhu Lingshan @ 2020-08-05 11:37 UTC (permalink / raw)
To: jasowang, mst
Cc: virtualization, netdev, kvm, eli, shahafs, parav, Zhu Lingshan
get_vq_irq() should be optional, it's required when
we need to setup irq offloading, otherwise it‘s OK to be NULL.
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
---
include/linux/vdpa.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h
index 03aa9f77f192..56c6a03db43b 100644
--- a/include/linux/vdpa.h
+++ b/include/linux/vdpa.h
@@ -87,7 +87,8 @@ struct vdpa_device {
* @vdev: vdpa device
* @idx: virtqueue index
* Returns the notifcation area
- * @get_vq_irq: Get the irq number of a virtqueue
+ * @get_vq_irq: Get the irq number of a virtqueue (optional,
+ * but must implemented if require vq irq offloading)
* @vdev: vdpa device
* @idx: virtqueue index
* Returns int: irq number of a virtqueue,
--
2.18.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-05 20:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 11:37 [PATCH 1/2] vDPA: get_vq_irq() should be optional Zhu Lingshan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).