+4
−4
Loading
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>