Spdk/lib/nvmf
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
..
ctrlr_bdev.c nvmf/bdev: use spdk_bdev_queue_io_wait() 2018-08-21 17:00:13 +00:00
ctrlr_discovery.c nvmf: Move target opts to transport opts (part 1) 2018-08-27 20:43:53 +00:00
ctrlr.c nvmf: Move target opts to transport opts (part 1) 2018-08-27 20:43:53 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_fc.h nvmf: fix coding style for astyle 2.05 in nvmf_fc.h 2018-07-17 07:53:18 +00:00
nvmf_internal.h nvmf/bdev: use spdk_bdev_queue_io_wait() 2018-08-21 17:00:13 +00:00
nvmf.c nvmf: Add function to get local addr for a qpair 2018-09-11 15:23:33 +00:00
rdma.c env_dpdk: change behavior of spdk_mem_map_translate 2018-09-15 00:28:23 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c lib/nvmf: handle the failed case when activating the subsystem 2018-08-21 22:19:54 +00:00
transport.c nvmf: Add function to get local addr for a qpair 2018-09-11 15:23:33 +00:00
transport.h nvmf: Add function to get local addr for a qpair 2018-09-11 15:23:33 +00:00