numam-spdk/lib/nvmf
John Levon 58e75cf714 nvmf/vfio-user: avoid division in cq_is_full()
Avoid using the modulus operator in the hot-path cq_is_full(),
by aping how cq_tail_advance() is written.

Signed-off-by: John Levon <john.levon@nutanix.com>
Change-Id: Idbdf1715ab30d08233b38aa7691f0212ae93a542
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11445
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
2022-02-09 16:06:52 +00:00
..
ctrlr_bdev.c nvmf: make zcopy_end void 2022-01-06 18:53:42 +00:00
ctrlr_discovery.c nvmf: add new 'id' to spdk_nvmf_subsystem_listener 2021-12-20 18:12:41 +00:00
ctrlr.c nvmf: Support concurrent execution of multiple abort commands 2022-02-04 20:58:29 +00:00
fc_ls.c spelling: lib 2021-12-03 08:12:55 +00:00
fc.c nvmf: Use acceptor_poll_rate value from func args 2022-01-17 14:26:01 +00:00
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
nvmf_fc.h spelling: lib 2021-12-03 08:12:55 +00:00
nvmf_internal.h nvmf: add save/restore a controller in runtime 2022-01-26 00:37:29 +00:00
nvmf_rpc.c nvmf: zero-copy enable flag in transport opts 2022-01-06 18:53:42 +00:00
nvmf.c nvmf: Update controller desctruction process 2022-01-20 20:00:51 +00:00
rdma.c rdma: Fix icd update to support msdbd 2022-01-20 11:21:58 +00:00
spdk_nvmf.map lib/nvmf : Added support for ZCOPY 2021-07-23 08:34:43 +00:00
subsystem.c nvmf: Update controller desctruction process 2022-01-20 20:00:51 +00:00
tcp.c nvmf: Use acceptor_poll_rate value from func args 2022-01-17 14:26:01 +00:00
transport.c nvmf: Stop all listeners when destroying transport 2022-01-27 15:11:58 +00:00
transport.h nvmf: remove accept poller from generic layer 2021-12-14 13:18:33 +00:00
vfio_user.c nvmf/vfio-user: avoid division in cq_is_full() 2022-02-09 16:06:52 +00:00