diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-04-29 09:50:32 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2009-06-09 11:38:49 +0100 |
commit | 3471b757d0ca63a0e8188c4c96acd1c279a8c737 (patch) | |
tree | c2987a4b38ff19401395c1f73e17266f0239a6ee /hw/virtio-net.c | |
parent | net: vlan clients with no fd_can_read() can always receive (diff) | |
download | qemu-kvm-3471b757d0ca63a0e8188c4c96acd1c279a8c737.tar.gz qemu-kvm-3471b757d0ca63a0e8188c4c96acd1c279a8c737.tar.bz2 qemu-kvm-3471b757d0ca63a0e8188c4c96acd1c279a8c737.zip |
net: only read from tapfd when we can send
Reduce the number of packets dropped under heavy network
traffic by only reading a packet from the tapfd when a
client can actually handle it.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Diffstat (limited to 'hw/virtio-net.c')
0 files changed, 0 insertions, 0 deletions