linux/drivers/virtio
John Fastabend 9fe7bfce8b virtio_net: refactor freeze/restore logic into virtnet reset logic
For XDP we will need to reset the queues to allow for buffer headroom
to be configured. In order to do this we need to essentially run the
freeze()/restore() code path. Unfortunately the locking requirements
between the freeze/restore and reset paths are different however so
we can not simply reuse the code.

This patch refactors the code path and adds a reset helper routine.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-07 10:05:12 -05:00
..
Kconfig docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
Makefile Add virtio-input driver. 2015-03-29 12:13:52 +10:30
virtio_balloon.c virtio: update balloon size in balloon "probe" 2016-10-31 00:21:41 +02:00
virtio_input.c virtio: make find_vqs() checkpatch.pl-friendly 2016-01-12 20:47:06 +02:00
virtio_mmio.c virtio_mmio: Set DMA masks appropriately 2017-01-25 00:33:10 +02:00
virtio_pci_common.c virtio_pci: split vp_try_to_find_vqs into INTx and MSI-X variants 2016-12-16 00:12:49 +02:00
virtio_pci_common.h virtio_pci: use pci_alloc_irq_vectors 2016-12-16 00:12:47 +02:00
virtio_pci_legacy.c virtio_pci: Limit DMA mask to 44 bits for legacy virtio devices 2016-10-31 00:21:39 +02:00
virtio_pci_modern.c virtio_pci_modern: fix complaint by sparse 2016-12-15 06:39:46 +02:00
virtio_ring.c vring: Force use of DMA API for ARM-based systems with legacy devices 2017-01-25 00:33:11 +02:00
virtio.c virtio_net: refactor freeze/restore logic into virtnet reset logic 2017-02-07 10:05:12 -05:00