tmp_suning_uos_patched/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
Makefile
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