virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH V4 4/6] vhost_vdpa: implement IRQ offloading in vhost_vdpa
       [not found]           ` <20200729141554.GA47212@mtl-vdi-166.wap.labs.mlnx>
@ 2020-07-31  3:11             ` Jason Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2020-07-31  3:11 UTC (permalink / raw)
  To: Eli Cohen
  Cc: shahafs, wanpengli, parav, kvm, mst, netdev,
	sean.j.christopherson, virtualization, pbonzini, Zhu Lingshan


On 2020/7/29 下午10:15, Eli Cohen wrote:
> OK, we have a mode of operation that does not require driver
> intervention to manipulate the event queues so I think we're ok with
> this design.


Good to know this.

Thanks


_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH V4 0/6] IRQ offloading for vDPA
       [not found] <20200728042405.17579-1-lingshan.zhu@intel.com>
       [not found] ` <20200728042405.17579-5-lingshan.zhu@intel.com>
@ 2020-07-31  3:18 ` Jason Wang
  1 sibling, 0 replies; 2+ messages in thread
From: Jason Wang @ 2020-07-31  3:18 UTC (permalink / raw)
  To: Zhu Lingshan, alex.williamson, mst, pbonzini,
	sean.j.christopherson, wanpengli
  Cc: shahafs, parav, kvm, netdev, virtualization, eli


On 2020/7/28 下午12:23, Zhu Lingshan wrote:
> This series intends to implement IRQ offloading for
> vhost_vdpa.
>
> By the feat of irq forwarding facilities like posted
> interrupt on X86, irq bypass can  help deliver
> interrupts to vCPU directly.
>
> vDPA devices have dedicated hardware backends like VFIO
> pass-throughed devices. So it would be possible to setup
> irq offloading(irq bypass) for vDPA devices and gain
> performance improvements.
>
> In my testing, with this feature, we can save 0.1ms
> in a ping between two VFs on average.
> changes from V3:
> (1)removed vDPA irq allocate/free helpers in vDPA core.
> (2)add a new function get_vq_irq() in struct vdpa_config_ops,
> upper layer driver can use this function to: A. query the
> irq numbner of a vq. B. detect whether a vq is enabled.
> (3)implement get_vq_irq() in ifcvf driver.
> (4)in vhost_vdpa, set_status() will setup irq offloading when
> setting DRIVER_OK, and unsetup when receive !DRIVER_OK.
> (5)minor improvements.


Ok, I think you can go ahead to post a V5. It's not bad to start with 
get_vq_irq() and we can do any changes afterwards if it can work for 
some cases.

Thanks

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-31  3:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200728042405.17579-1-lingshan.zhu@intel.com>
     [not found] ` <20200728042405.17579-5-lingshan.zhu@intel.com>
     [not found]   ` <20200728090438.GA21875@nps-server-21.mtl.labs.mlnx>
     [not found]     ` <c87d4a5a-3106-caf2-2bc1-764677218967@redhat.com>
     [not found]       ` <20200729095503.GD35280@mtl-vdi-166.wap.labs.mlnx>
     [not found]         ` <45b7e8aa-47a9-06f6-6b72-762d504adb00@redhat.com>
     [not found]           ` <20200729141554.GA47212@mtl-vdi-166.wap.labs.mlnx>
2020-07-31  3:11             ` [PATCH V4 4/6] vhost_vdpa: implement IRQ offloading in vhost_vdpa Jason Wang
2020-07-31  3:18 ` [PATCH V4 0/6] IRQ offloading for vDPA Jason Wang

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).