diff options
| author | Michael S. Tsirkin | 2012-11-29 23:02:56 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2012-11-30 00:25:02 +0100 |
| commit | e1f7b4812eab992de46c98b3726745afb042a7f0 (patch) | |
| tree | 288ec43f0807224674026579208dc46748bcaf32 /pc-bios | |
| parent | qemu-tech.texi: update implemented xtensa features list (diff) | |
| download | qemu-e1f7b4812eab992de46c98b3726745afb042a7f0.tar.gz qemu-e1f7b4812eab992de46c98b3726745afb042a7f0.tar.xz qemu-e1f7b4812eab992de46c98b3726745afb042a7f0.zip | |
virtio: limit avail bytes lookahead
Commit 0d8d7690850eb0cf2b2b60933cf47669a6b6f18f introduced
a regression in virtio-net performance because it looks
into the ring aggressively while we really only care
about a single packet worth of buffers.
Reported as bugzilla 1066055 in launchpad.
To fix, add parameters limiting lookahead, and
use in virtqueue_avail_bytes.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reported-by: Edivaldo de Araujo Pereira <edivaldoapereira@yahoo.com.br>
Tested-by: Edivaldo de Araujo Pereira <edivaldoapereira@yahoo.com.br>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions
