opnsense-src/sys/dev/virtio
Jessica Clarke 8c3988dff9 virtio: Support non-legacy network device and queue
The non-legacy interface always defines num_buffers in the header,
regardless of whether VIRTIO_NET_F_MRG_RXBUF, just leaving it unused. We
also need to ensure our virtqueue doesn't filter out VIRTIO_F_VERSION_1
during negotiation, as it supports non-legacy transports just fine. This
fixes network packet transmission on TinyEMU.

Reviewed by:	br, brooks (mentor), jhb (mentor)
Approved by:	br, brooks (mentor), jhb (mentor)
Differential Revision:	https://reviews.freebsd.org/D25132
2020-06-08 21:51:36 +00:00
..
balloon virtio: Support MMIO bus for all devices 2020-05-06 23:31:30 +00:00
block Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
console virtio: Support MMIO bus for all devices 2020-05-06 23:31:30 +00:00
mmio virtio_mmio: Negotiate the upper half of the feature bits too 2020-06-08 21:49:42 +00:00
network virtio: Support non-legacy network device and queue 2020-06-08 21:51:36 +00:00
pci [virtio] Fix r/w to PCI configuration area on big endian platforms 2020-02-05 20:39:18 +00:00
random virtio: Support MMIO bus for all devices 2020-05-06 23:31:30 +00:00
scsi virtio: Support MMIO bus for all devices 2020-05-06 23:31:30 +00:00
virtio.c virtio: Support non-legacy network device and queue 2020-06-08 21:51:36 +00:00
virtio.h virtio(4): Add PNP match metadata for virtio devices 2019-06-04 02:37:11 +00:00
virtio_bus_if.m Add VirtIO bus config_generation method 2018-02-19 19:28:24 +00:00
virtio_config.h Update VirtIO definitions from Linux virtio_config.h and virtio_ring.h headers 2018-06-17 20:45:48 +00:00
virtio_ids.h Sync VirtIO IDs with Linux 2018-01-14 06:03:40 +00:00
virtio_if.m Add optional VirtIO device method for post-attach notifications 2013-09-01 04:20:23 +00:00
virtio_ring.h Update VirtIO definitions from Linux virtio_config.h and virtio_ring.h headers 2018-06-17 20:45:48 +00:00
virtqueue.c virtio: Support non-legacy network device and queue 2020-06-08 21:51:36 +00:00
virtqueue.h Add more virtqueue getter methods 2018-02-19 19:31:18 +00:00