opnsense-src/sys/dev/virtio
Bryan Venteicher 443c3d0bd1 Do not place the sglist used for Rx/Tx on the stack
The sglist segment array has grown to a bit over 512 bytes (on
64-bit system) which is more than ideally should be put on the
stack. Instead allocate an appropriately sized sglist and hang
it off each Rx/Tx queue structure.

Bump the maximum number of Tx segments to 64 to make it unlikely
we'll have defragment an mbuf chain. Our previous count was
rounded up to this value since it is the next power of two, so
effective memory usage should not change.

Also only allocate the maximum number of Tx segments if TSO was
negotiated.
2014-02-02 05:15:36 +00:00
..
balloon Different consumers of the struct vm_page abuse pageq member to keep 2013-08-10 17:36:42 +00:00
block Add unmapped IO support to virtio_blk(4) 2014-01-13 04:43:01 +00:00
network Do not place the sglist used for Rx/Tx on the stack 2014-02-02 05:15:36 +00:00
pci Add optional VirtIO device method for post-attach notifications 2013-09-01 04:20:23 +00:00
random Add very simple virtio_random(4) driver to harvest entropy from host 2014-01-18 06:14:38 +00:00
scsi Read each field of the configuration individually 2014-01-25 07:01:51 +00:00
virtio.c Merge virtio changes from projects/virtio 2013-07-04 17:57:26 +00:00
virtio.h Merge virtio_pci changes from projects/virtio 2013-07-04 17:59:09 +00:00
virtio_bus_if.m Merge virtio changes from projects/virtio 2013-07-04 17:57:26 +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 Various VirtIO improvements 2012-07-11 02:57:19 +00:00
virtqueue.c Fix unintended compiler constant folding 2013-09-03 02:26:57 +00:00
virtqueue.h Add support for postponing VirtIO virtqueue interrupts 2013-09-01 04:16:43 +00:00