Module Name: src Committed By: martin Date: Fri Jan 13 19:11:31 UTC 2023
Modified Files: src/sys/dev/pci [netbsd-10]: virtio.c Log Message: Pull up following revision(s) (requested by jakllsch in ticket #48): sys/dev/pci/virtio.c: revision 1.64 sys/dev/pci/virtio.c: revision 1.65 Fix dmamap_syncs more; the number of ring elements is vq->vq_num, not sc->sc_nvqs. Subtly adjust criteria for notification of Virtio devices in VIRTIO_F_RING_EVENT_IDX mode. This fixes stalls in the vioif(4) transmit path that would happen sooner or later, depending on interface transmit utilization, and were particularly noticable with a NetBSD guest transmitting to its x86 KVM host at multi-gigabit speeds. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.63.2.1 src/sys/dev/pci/virtio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.