svn commit: r310080 - stable/10/sys/dev/virtio/pci
Andriy Gapon
avg at FreeBSD.org
Wed Dec 14 16:44:40 UTC 2016
Author: avg
Date: Wed Dec 14 16:44:38 2016
New Revision: 310080
URL: https://svnweb.freebsd.org/changeset/base/310080
Log:
MFC r309119: virtio_pci: fix announcement of MSI-X interrupts for queues
Modified:
stable/10/sys/dev/virtio/pci/virtio_pci.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/virtio/pci/virtio_pci.c
==============================================================================
--- stable/10/sys/dev/virtio/pci/virtio_pci.c Wed Dec 14 16:44:33 2016 (r310079)
+++ stable/10/sys/dev/virtio/pci/virtio_pci.c Wed Dec 14 16:44:38 2016 (r310080)
@@ -1087,7 +1087,8 @@ vtpci_set_host_msix_vectors(struct vtpci
* For shared MSIX, all the virtqueues share the first
* interrupt.
*/
- if ((sc->vtpci_flags & VTPCI_FLAG_SHARED_MSIX) == 0)
+ if (!sc->vtpci_vqs[idx].vtv_no_intr &&
+ (sc->vtpci_flags & VTPCI_FLAG_SHARED_MSIX) == 0)
intr++;
}
More information about the svn-src-stable
mailing list