]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: support reserved vqs
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Sep 2012 18:47:45 +0000 (21:47 +0300)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 00:33:31 +0000 (10:33 +1000)
commit7421bb43f691338b6bd7007372780c7663a0b68f
tree64fee034df2c83781ab9b0a57a31f536c60c6d70
parent49f58fd23b3f2ac07fa7e569ff444d1534ca06f2
virtio: support reserved vqs

virtio network device multiqueue support reserves
vq 3 for future use (useful both for future extensions and to make it
pretty - this way receive vqs have even and transmit - odd numbers).
Make it possible to skip initialization for
specific vq numbers by specifying NULL for name.
Document this usage as well as (existing) NULL callback.

Drivers using this not coded up yet, so I simply tested
with virtio-pci and verified that this patch does
not break existing drivers.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lguest_device.c
drivers/remoteproc/remoteproc_virtio.c
drivers/s390/kvm/kvm_virtio.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_pci.c
include/linux/virtio_config.h