numam-spdk/lib/nvmf
Seth Howell 5d57386885 env_dpdk: spdk_mem_map_translate informs user of translation size.
This function will now check for whether or not a memory region is
contiguous accross 2MB map entries and return the total length of that
contiguous buffer up to the size specified by the user.

Also includes unittests
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: I2ce582427d451be5a317808d0825c770e12e9a69
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/425329
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-09-26 20:57:57 +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: Dump new-style configuration RPCs 2018-09-18 15:54:21 +00:00
rdma.c env_dpdk: spdk_mem_map_translate informs user of translation size. 2018-09-26 20:57:57 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c nvmf: Generate a reasonable default subsystem serial number 2018-09-20 18:35:27 +00:00
transport.c nvmf: Move target opts to transport opts (part 2) 2018-09-17 20:42:16 +00:00
transport.h nvmf: Move target opts to transport opts (part 2) 2018-09-17 20:42:16 +00:00