freebsd-dev/sys/dev/virtio
Steven Hartland 4be723f63e Fix vtnet hang with max_virtqueue_pairs > VTNET_MAX_QUEUE_PAIRS
Correctly limit npairs passed to vtnet_ctrl_mq_cmd. This ensures that
VQ_ALLOC_INFO_INIT is called with the correct value, preventing the system
from hanging when max_virtqueue_pairs > VTNET_MAX_QUEUE_PAIRS.

Add new sysctl requested_vq_pairs which allow the user to configure
the requested number of virtqueue pairs. The actual value will still take
into account the system limits.

Also missing sysctls for the current tunables so their values can be seen.

PR:		207446
Reported by:	Andy Carrel
MFC after:	3 days
Relnotes:	Yes
Sponsored by:	Multiplay
2016-08-11 21:13:58 +00:00
..
balloon
block Create an API to reset a struct bio (g_reset_bio). This is mandatory 2016-02-17 17:16:02 +00:00
console sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
mmio Add 'prewrite' method allowing us to run some platform-specific 2015-07-03 14:13:16 +00:00
network Fix vtnet hang with max_virtqueue_pairs > VTNET_MAX_QUEUE_PAIRS 2016-08-11 21:13:58 +00:00
pci
random Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
scsi
virtio_bus_if.m
virtio_config.h
virtio_ids.h
virtio_if.m
virtio_ring.h
virtio.c
virtio.h
virtqueue.c
virtqueue.h