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
..
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2021-12-03 08:12:55 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2021-09-03 08:08:20 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00
2022-01-31 15:29:56 +00:00