All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-dev] Virtio device specific MSIX arming
@ 2019-10-24 11:22 Shahaf Shuler
  2019-10-24 11:35 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Shahaf Shuler @ 2019-10-24 11:22 UTC (permalink / raw)
  To: Virtio-Dev, Michael S . Tsirkin; +Cc: Tzahi Oved, Alex Rosenbaum

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

Hi,



Below question mainly raise when looking on the ways to have vDPA implementation of virtio-net device.



One complexity we encounter is with the MSIX relay between the device and the guest.

Reading the spec, and looking on the driver implementation, it seems there is no way for the driver to re-arm the virtio device after MSIX was triggered.



There is a way to suppress interrupt by setting some flags on the available rings, however it is hard to poll on it from a real (not emulated) PCI device.



Is above correct? Or there is a way to re-arm virtio device for next interrupt?



If no way to re-arm,

1. are there any thoughts on adding such addition to spec?

2. What is the recommended approach for vDPA implementation? Use static

    interrupt moderation?


[-- Attachment #2: Type: text/html, Size: 3427 bytes --]

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

end of thread, other threads:[~2019-10-24 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 11:22 [virtio-dev] Virtio device specific MSIX arming Shahaf Shuler
2019-10-24 11:35 ` Michael S. Tsirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.