tap: vhost busy polling support
authorJason Wang <jasowang@redhat.com>
Wed, 6 Jul 2016 01:57:55 +0000 (09:57 +0800)
committerJason Wang <jasowang@redhat.com>
Thu, 7 Jul 2016 06:29:04 +0000 (14:29 +0800)
commit69e87b32680a41d9761191443587c595b6f5fc3f
tree683f9339d73eb1f1480672c2586e46deddbeab7e
parent91d35509903464c7f4b9ed56be223d7370d3597c
tap: vhost busy polling support

This patch add the capability of basic vhost net busy polling which is
supported by recent kernel. User could configure the maximum number of
us that could be spent on busy polling through a new property of tap
"poll-us".

Cc: Greg Kurz <groug@kaod.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/vhost_net.c
hw/scsi/vhost-scsi.c
hw/virtio/vhost-backend.c
hw/virtio/vhost.c
include/hw/virtio/vhost-backend.h
include/hw/virtio/vhost.h
include/net/vhost_net.h
net/tap.c
net/vhost-user.c
qapi-schema.json
qemu-options.hx