commit | 24eb21a14896e5c1c7cbca8e9a40405a51745f1d | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Nov 01 09:16:55 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 02 21:29:58 2012 -0400 |
tree | fc754d17a01a4f56272401fd4d73ebe5ee60ede6 | |
parent | eaae8132ef6032ffe612e789e8ff145dcf5bc2bb [diff] |
vhost-net: reduce vq polling on tx zerocopy It seems that to avoid deadlocks it is enough to poll vq before we are going to use the last buffer. This is faster than c70aa540c7a9f67add11ad3161096fb95233aa2e. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>