Spdk/lib/nvme
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
..
Makefile nvme/rdma: factor out NVMe-oF Property Get/Set 2018-06-27 22:59:18 +00:00
nvme_ctrlr_cmd.c nvme: add Get/Set Feature wrappers with NSID 2018-06-12 17:59:33 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: check whether ctrlr support ocssd 2018-06-14 23:09:42 +00:00
nvme_ctrlr.c nvme: make nvme_ctrlr_configure_aer() can be executed asynchronously 2018-09-14 22:39:52 +00:00
nvme_fabric.c nvme/rdma: factor out Connect command 2018-06-27 22:59:18 +00:00
nvme_internal.h nvme: make nvme_ctrlr_configure_aer() can be executed asynchronously 2018-09-14 22:39:52 +00:00
nvme_ns_cmd.c nvme: add PI to spdk_nvme_ns_cmd_read/writev() 2018-06-12 17:40:32 +00:00
nvme_ns_ocssd_cmd.c ocssd: add chunk info list as mptr of vector reset 2018-07-09 18:54:22 +00:00
nvme_ns.c nvme: don't update Identify NS Data in spdk_nvme_ns_get_data() 2018-09-06 00:51:24 +00:00
nvme_pcie.c nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
nvme_qpair.c nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
nvme_quirks.c nvme: add quirk for Intel SSDs without vendor-specific log pages 2018-08-27 14:58:48 +00:00
nvme_rdma.c env_dpdk: change behavior of spdk_mem_map_translate 2018-09-15 00:28:23 +00:00
nvme_transport.c nvmf: Add Fibre Channel defs and usage to nvme lib 2018-06-22 21:09:09 +00:00
nvme_uevent.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: separate nvme_ctrlr_start() into different functions 2018-09-07 20:03:29 +00:00