numam-spdk/lib/nvme
Changpeng Liu 1b0ec0b7c2 nvme/pcie: add controller specific vtophys
Libvfio-user assumes the memory translation is IOVA=VA mode,
since SPDK CI is running inside a VM, the memory mode is
IOVA=PA mode, so when testing NVMe vfio-user transport inside
a VM spdk_vtophys doesn't work with libvfio-user, so here
we add a function to return memory address based on TRTYPE.

Change-Id: I11d1c87197f7bbfc243b6bf368795c9a74bd1303
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5958
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-01-21 05:00:18 +00:00
..
Makefile nvme: move common pcie transport code new source files 2021-01-21 05:00:18 +00:00
nvme_ctrlr_cmd.c lib/nvme: add two async API for Directive Send and Directive Receive. 2021-01-20 16:27:34 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c lib/nvme: add two async API for Directive Send and Directive Receive. 2021-01-20 16:27:34 +00:00
nvme_cuse.c lib/env_dpdk: Change the location of lock files from /tmp to /var/tmp 2020-11-17 08:25:31 +00:00
nvme_cuse.h lib/nvme: add RPC for interacting with CUSE devices 2019-10-24 23:43:59 +00:00
nvme_fabric.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_internal.h nvme: add function to get the max zone append data transfer size 2020-11-20 11:00:18 +00:00
nvme_io_msg.c lib/nvme: update io msg producers on ns manage 2020-06-05 09:01:44 +00:00
nvme_io_msg.h lib/nvme: update io msg producers on ns manage 2020-06-05 09:01:44 +00:00
nvme_ns_cmd.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_ns_ocssd_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_opal_internal.h nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
nvme_opal.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
nvme_pcie_common.c nvme/pcie: add controller specific vtophys 2021-01-21 05:00:18 +00:00
nvme_pcie_internal.h nvme/pcie: set doorbell base when allocating the bar 2021-01-21 05:00:18 +00:00
nvme_pcie.c nvme/pcie: set doorbell base when allocating the bar 2021-01-21 05:00:18 +00:00
nvme_poll_group.c lib/nvme: switch poll group to use connect/disconnect semantics. 2020-04-22 19:06:26 +00:00
nvme_qpair.c nvme: add directive definitions to nvme_spec.h 2021-01-20 16:27:34 +00:00
nvme_quirks.c nvme: add quirks for new NVMe controller 2021-01-14 16:20:38 +00:00
nvme_rdma.c nvme/rdma: Use RDMA provider memory translation 2021-01-14 16:19:48 +00:00
nvme_tcp.c nvme_tcp: Fix icreq/icresp handing with zcopy enabled. 2020-10-30 09:05:35 +00:00
nvme_transport.c nvme/nvme_transport: Unify returns in disconnect and connect. 2020-12-28 13:29:35 +00:00
nvme_uevent.c lib/nvme: Add error handler for parse_event 2020-11-17 08:25:31 +00:00
nvme_uevent.h nvme: read all uevents 2020-08-24 07:38:33 +00:00
nvme_zns.c lib/nvme: add function spdk_nvme_bytes_to_numd to calculate number of dwords 2021-01-20 08:45:43 +00:00
nvme.c nvme: add a new custom transport SPDK_NVME_TRANSPORT_VFIOUSER 2021-01-21 05:00:18 +00:00
spdk_nvme.map lib/nvme: add two async API for Directive Send and Directive Receive. 2021-01-20 16:27:34 +00:00