]> git.baikalelectronics.ru Git - kernel.git/commit
vhost_net: zerocopy: adding and signalling immediately when fully copied
authorJason Wang <jasowang@redhat.com>
Wed, 2 May 2012 03:42:41 +0000 (11:42 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 May 2012 15:22:24 +0000 (18:22 +0300)
commitdef2dc69694e71ae0d23e0ce82e191f059905344
treec570166201d18f7672178e37b4f8fa6689ea8448
parentbb0dbef990e7cc01d95582ee8945a1d3954b89cc
vhost_net: zerocopy: adding and signalling immediately when fully copied

When a packet were fully copied in zerocopy, we don't wait for the DMA done to
mark the done flag, so after the packet were passed to lower device, we need to
add used and signal guest immediately.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c