Spdk/test
Seth Howell d288c41242 env_dpdk: change behavior of spdk_mem_map_translate
The function now takes a pointer as it's last argument, and copies the
size of the memory region for which the translation is validinto that
pointer.
For now, that will always be 2MB. However that behavior can change in
the future.

This series of changes is aimed at enabling spdk_mem_map_translate to
report back to the user the length of the valid mem_map up to the
function that requested the translation.
This will be useful when retrieving memory regions associated with I/O
buffers in NVMe-oF. For large I/O it will be possible that the buffer is
split over multiple MRs and the I/O will have to be split into multiple
SGLs.

Change-Id: I8686c166ec956507f5ae55cf602341281482cb89
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/424888
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-09-15 00:28:23 +00:00
..
app make: simplify rdma dependency linking 2018-09-14 22:56:46 +00:00
bdev scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
blobfs scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
blobstore autotest_common.sh: move to test/common 2018-02-27 20:37:27 -05:00
common test/nvmf: enable tracepoints for nvmf_tgt 2018-09-12 16:58:58 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env env_dpdk: change behavior of spdk_mem_map_translate 2018-09-15 00:28:23 +00:00
event test/event_perf: use less memory 2018-07-26 05:28:52 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/iscsi: add fio and lvol test cases with raid bdev 2018-09-15 00:16:50 +00:00
json_config scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
lvol scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
nvme mk: Add all external libs to sys_libs 2018-09-14 22:56:46 +00:00
nvmf scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
pmem test/json: Add pmem bdev test 2018-07-05 19:09:56 +00:00
spdkcli scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
unit blobstore: Introduce io_unit size to blobstore. 2018-09-14 22:46:27 +00:00
vhost scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
Makefile test: move lib/json up to test app directory 2018-03-29 00:31:24 -04:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00