linux-kernel-test/tools/virtio/linux
Rusty Russell 13816c768d virtio_ring: virtqueue_add_sgs, to add multiple sgs.
virtio_scsi can really use this, to avoid the current hack of copying
the whole sg array.  Some other things get slightly neater, too.

This causes a slowdown in virtqueue_add_buf(), which is implemented as
a wrapper.  This is addressed in the next patches.

for i in `seq 50`; do /usr/bin/time -f 'Wall time:%e' ./vringh_test --indirect --eventidx --parallel --fast-vringh; done 2>&1 | stats --trim-outliers:

Before:
	Using CPUS 0 and 3
	Guest: notified 0, pinged 39009-39063(39062)
	Host: notified 39009-39063(39062), pinged 0
	Wall time:1.700000-1.950000(1.723542)

After:
	Using CPUS 0 and 3
	Guest: notified 0, pinged 39062-39063(39063)
	Host: notified 39062-39063(39063), pinged 0
	Wall time:1.760000-2.220000(1.789167)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Reviewed-by: Asias He <asias@redhat.com>
2013-03-20 15:43:29 +10:30
..
bug.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
device.h
err.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
export.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
hrtimer.h tools/virtio: add linux/hrtimer.h stub 2012-02-28 09:13:14 +02:00
irqreturn.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
kernel.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
module.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
printk.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
ratelimit.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
scatterlist.h virtio_ring: virtqueue_add_sgs, to add multiple sgs. 2013-03-20 15:43:29 +10:30
slab.h
types.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
uaccess.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
uio.h tools/virtio: add vring_test. 2013-03-20 14:06:04 +10:30
virtio_config.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
virtio_ring.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
virtio.h virtio_ring: virtqueue_add_sgs, to add multiple sgs. 2013-03-20 15:43:29 +10:30
vringh.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30