diff options
author | 2015-01-28 00:15:00 -0800 | |
---|---|---|
committer | 2015-02-04 10:55:36 -0800 | |
commit | e8de56b5e76ab7ed2a4aa3476649fe3fa85de1d7 (patch) | |
tree | 395e2c91c7cc0da292a6d484f005681d8f118127 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | vhost/scsi: Change vhost_scsi_map_to_sgl to accept iov ptr + len (diff) | |
download | wireguard-linux-e8de56b5e76ab7ed2a4aa3476649fe3fa85de1d7.tar.xz wireguard-linux-e8de56b5e76ab7ed2a4aa3476649fe3fa85de1d7.zip |
vhost/scsi: Add ANY_LAYOUT iov -> sgl mapping prerequisites
This patch adds ANY_LAYOUT prerequisites logic for accepting a set of
protection + data payloads via iov_iter. Also includes helpers for
calcuating SGLs + invoking vhost_scsi_map_to_sgl() with a known number
of iovecs.
Required by ANY_LAYOUT processing when struct iovec may be offset into
the first outgoing virtio-scsi request header.
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions