Date: Wed, 14 Dec 2016 16:44:34 +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-11@freebsd.org Subject: svn commit: r310079 - stable/11/sys/dev/virtio/pci Message-ID: <201612141644.uBEGiYMa007884@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Wed Dec 14 16:44:33 2016 New Revision: 310079 URL: https://svnweb.freebsd.org/changeset/base/310079 Log: MFC r309119: virtio_pci: fix announcement of MSI-X interrupts for queues Modified: stable/11/sys/dev/virtio/pci/virtio_pci.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/virtio/pci/virtio_pci.c ============================================================================== --- stable/11/sys/dev/virtio/pci/virtio_pci.c Wed Dec 14 16:43:09 2016 (r310078) +++ stable/11/sys/dev/virtio/pci/virtio_pci.c Wed Dec 14 16:44:33 2016 (r310079) @@ -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.uBEGiYMa007884>