commit | cedb9bdce099206290a2bdd02ce47a7b253b6a84 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Dec 06 17:00:18 2012 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Dec 06 17:09:18 2012 +0200 |
tree | e30b69a7b94c6fe30272549f3c3ad6faf10bd37f | |
parent | 1280c27f8e29acf4af2da914e80ec27c3dbd5c01 [diff] |
vhost-net: skip head management if no outstanding For short packets zerocopy mode adds overhead of managing heads which isn't necessary: we could simly update used ring directly same as with zerocopy disabled. Things seem to run a bit faster if we detect and bypass head management when zcopy isn't used. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>