numam-spdk/test/unit/lib
Jim Harris bab34df6ca vhost: split iovs which span hugepage boundaries
A virtio descriptor may specify a buffer that spans
a huge page boundary or even a vhost memory region.
So modify spdk_vhost_vring_desc_to_iov() to take this
into account.

While here, also change spdk_vhost_vring_desc_to_iov
to return int instead of bool.  int return with -1 is
most standard to indicate failure.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I71faefce0367dc9e44d70ea4429a28dd64f04c10

Reviewed-on: https://review.gerrithub.io/371756
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
2017-07-31 13:10:52 -04:00
..
bdev util/nvme: added io_device unregister callback 2017-07-20 16:07:02 -04:00
blob test: move blob library unit tests to test/unit 2017-06-21 18:57:35 -04:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
iscsi iscsi: change iscsi_bhs_scsi_req variable names. 2017-07-18 13:14:16 -04:00
json test/json_util_ut: assert that string is valid 2017-07-12 18:13:23 -04:00
jsonrpc jsonrpc: allow asynchronous request completion 2017-07-12 12:10:31 -04:00
log log: Remove configurable log facility 2017-07-05 19:28:29 -04:00
nvme nvme: add I/O qpair creation options 2017-07-18 18:33:20 -04:00
nvmf nvme: add I/O qpair creation options 2017-07-18 18:33:20 -04:00
scsi bdev: pass descriptors for I/O operations 2017-07-14 13:31:30 -04:00
util util/nvme: added io_device unregister callback 2017-07-20 16:07:02 -04:00
vhost vhost: split iovs which span hugepage boundaries 2017-07-31 13:10:52 -04:00
Makefile vhost: add unit test framework 2017-07-31 13:10:52 -04:00