numam-spdk/lib/nvme
Daniel Verkamp 008c111b48 nvme/pcie: only set mmio_ctrlr around actual MMIO
When the shadow doorbell feature is enabled, no actual MMIO takes place
when a shadow update is sufficient; tighten the bounds of the updates to
g_thread_mmio_ctrlr in the two doorbell update locations so that we only
need to touch the thread-local variable when actual MMIO access is
required.

Change-Id: Ida974bec33f56cbb9f7d3611f483c6975ec773ab
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/413856
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-06-06 17:10:09 +00:00
..
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvme_ctrlr_cmd.c nvme: optimize nvme_allocate_request memsets 2018-06-01 21:01:42 +00:00
nvme_ctrlr.c nvme: update the NS identify data according to AER 2018-05-30 17:28:03 +00:00
nvme_internal.h nvme: rename quirk from LIGHTNVM to OCSSD 2018-06-06 01:45:36 +00:00
nvme_ns_cmd.c nvme: optimize layout of struct nvme_payload 2018-06-01 21:01:42 +00:00
nvme_ns.c nvme: update the NS identify data according to AER 2018-05-30 17:28:03 +00:00
nvme_pcie.c nvme/pcie: only set mmio_ctrlr around actual MMIO 2018-06-06 17:10:09 +00:00
nvme_qpair.c nvme: make basic request functions static inline 2018-06-04 03:28:19 +00:00
nvme_quirks.c nvme: rename quirk from LIGHTNVM to OCSSD 2018-06-06 01:45:36 +00:00
nvme_rdma.c env: add size parameter to spdk_mem_map_translate 2018-06-05 18:36:00 +00:00
nvme_transport.c scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05: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: make basic request functions static inline 2018-06-04 03:28:19 +00:00