Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 16:44:39 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r310080 - stable/10/sys/dev/virtio/pci
Message-ID:  <201612141644.uBEGid13007933@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612141644.uBEGid13007933>