Virtio network rx performance improvment
commit271ca4b16cb2250779ff457f02f61ead2f012e5d
authorDor Laor <dor.laor@qumranet.com>
Sun, 30 Dec 2007 22:18:29 +0000 (31 00:18 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 2 Jan 2008 15:49:30 +0000 (2 17:49 +0200)
treea0b3beee7a682ad4ae10ea7094c3f7f7ef0b4157
parent73eb7f53587e56e2c697664822904cfc441106e2
Virtio network rx performance improvment

This patch prevents qemu handlers from reading the tap and instead
it selects the tap descriptors for virtio devices.
This eliminates copies and also batch guest notifications (interrupts).

Using this patch the rx performance reaches 800Mbps.
-net user option remains as before and does not enjoy the performance
improvment.

Signed-off-by: Dor Laor <dor.laor@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
hw/pc.h
hw/virtio-net.c
net.h
vl.c