diff options
author | 2011-07-20 10:23:12 -0700 | |
---|---|---|
committer | 2011-07-21 10:48:27 +0300 | |
commit | 9e380825ab3f5176f65306c4ac119fd23634ce03 (patch) | |
tree | 4fdf3f2609da5ee3222103682f3ce10c976353d0 /tools/perf/scripts/python/check-perf-trace.py | |
parent | vhost-net: update used ring on backend change (diff) | |
download | linux-dev-9e380825ab3f5176f65306c4ac119fd23634ce03.tar.xz linux-dev-9e380825ab3f5176f65306c4ac119fd23634ce03.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions