numam-spdk/lib/nvme
Changpeng Liu 163eba9565 nvme: return the physical address in nvme_pcie_ctrlr_alloc_cmb()
Commit 9ad044c4 remove the offset parameter in nvme_pcie_ctrlr_alloc_cmb()
and uses spdk_vtophys() to get the physical address of the submission
queue, however, the memory isn't registered to SPDK yet, so use the
offset to get the physical address again.

Change-Id: Ida0f4a8bf1e72d6446fba442a1b71f0ddaab4bb8
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1933
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-04-22 09:18:22 +00:00
..
Makefile nvme: add API for qpair poll groups. 2020-04-07 08:38:40 +00:00
nvme_ctrlr_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +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 nvme: Allow users to reserve the CMB for data without mapping it 2020-04-16 08:14:18 +00:00
nvme_cuse.c nvme/cuse: Don't allocate data buffers from CMB for cuse commands 2020-02-17 10:06:20 +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 nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00
nvme_internal.h nvme: Allow users to reserve the CMB for data without mapping it 2020-04-16 08:14:18 +00:00
nvme_io_msg.c lib/nvme: stop all NVMe io producers on detach 2019-11-28 12:36:58 +00:00
nvme_io_msg.h lib/nvme: stop all NVMe io producers on detach 2019-11-28 12:36:58 +00:00
nvme_ns_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +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 nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00
nvme_opal_internal.h nvme/opal: remove the device mutex lock finally 2020-04-15 07:39:10 +00:00
nvme_opal.c nvme/opal: remove the device mutex lock finally 2020-04-15 07:39:10 +00:00
nvme_pcie.c nvme: return the physical address in nvme_pcie_ctrlr_alloc_cmb() 2020-04-22 09:18:22 +00:00
nvme_poll_group.c nvme: add API for qpair poll groups. 2020-04-07 08:38:40 +00:00
nvme_qpair.c lib/nvme: when destroying qpairs, abort queued requests. 2020-04-14 11:34:24 +00:00
nvme_quirks.c nvme: add quirk for a minimum io queue size 2019-12-13 11:02:04 +00:00
nvme_rdma.c nvme/rdma: send an rdma_disconnect during disconnect. 2020-04-20 07:40:31 +00:00
nvme_tcp.c nvme/tcp: Properly size the receive buffer 2020-04-08 06:42:55 +00:00
nvme_transport.c nvme: Allow users to reserve the CMB for data without mapping it 2020-04-16 08:14:18 +00:00
nvme_uevent.c nvme: add vfio driver parse event 2019-05-29 02:36:41 +00:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00