Spdk/lib/nvmf
John Levon a8326f8155 nvmf/vfio-user: avoid doorbell reads in cq_is_full()
Profiling data showed the deference of the CQ head in cq_is_full() was a
significant contributor to the CPU cost of post_completion(). Use the
cached ->last_head value instead of a doorbell read every time.

Signed-off-by: John Levon <john.levon@nutanix.com>
Change-Id: Ib8c92ce4fa79683950555d7b0c235449e457b844
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11848
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2022-06-20 10:01:01 +00:00
..
ctrlr_bdev.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
ctrlr_discovery.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
ctrlr.c nvmf: Make nvmf transport advertise compare 2022-06-10 07:54:33 +00:00
fc_ls.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
fc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile lib/nvmf: bump SO_VER due to addition of spdk_nvme_cdata_fuses 2022-06-10 11:55:00 +00:00
nvmf_fc.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nvmf_internal.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nvmf_rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nvmf.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rdma.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
tcp.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
transport.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
transport.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
vfio_user.c nvmf/vfio-user: avoid doorbell reads in cq_is_full() 2022-06-20 10:01:01 +00:00