summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-12-06 17:00:18 +0200
committerMichael S. Tsirkin <mst@redhat.com>2012-12-06 17:09:18 +0200
commitcedb9bdce099206290a2bdd02ce47a7b253b6a84 (patch)
treee30b69a7b94c6fe30272549f3c3ad6faf10bd37f /include/linux/timerqueue.h
parent1280c27f8e29acf4af2da914e80ec27c3dbd5c01 (diff)
downloadcachepc-linux-cedb9bdce099206290a2bdd02ce47a7b253b6a84.tar.gz
cachepc-linux-cedb9bdce099206290a2bdd02ce47a7b253b6a84.zip
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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions