OpenCloudOS-Kernel/drivers/vhost
Shirley Ma 9e380825ab vhost: handle wrap around in # of bufs math
The meth for calculating the # of outstanding buffers gives
incorrect results when vq->upend_idx wraps around zero.
Fix that.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2011-07-21 10:48:27 +03:00
..
Kconfig net/macvtap: add vhost support 2010-02-18 14:08:38 -08:00
Makefile vhost_net: a kernel-level virtio server 2010-01-15 01:43:29 -08:00
net.c vhost: handle wrap around in # of bufs math 2011-07-21 10:48:27 +03:00
test.c vhost: init used ring after backend was set 2011-07-19 13:28:34 +03:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: optimize interrupt enable/disable 2011-07-19 17:17:28 +03:00
vhost.h vhost: init used ring after backend was set 2011-07-19 13:28:34 +03:00