vhost: track zero copy failures using DMA length
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Nov 2012 09:16:42 +0000 (09:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 01:29:57 +0000 (21:29 -0400)
commitc4fcb586c337f8b8de3a3d7ba8514eed03695f6e
treeba018d4de83d2e4a9898e06e9f813359a56d85fd
parent70e4cb9aafb3caa9e5eb25614a5bc40b0ffa9ffd
vhost: track zero copy failures using DMA length

This will be used to disable zerocopy when error rate
is high.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/vhost.c
drivers/vhost/vhost.h