]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/irdma: CQ size and shadow update changes for GEN3
authorJay Bhat <jay.bhat@intel.com>
Fri, 31 Oct 2025 02:17:23 +0000 (21:17 -0500)
committerLeon Romanovsky <leon@kernel.org>
Sun, 2 Nov 2025 11:52:58 +0000 (06:52 -0500)
commit0a192745551cd2e999532075f21c0cfa174bc065
treed689c6cf941b039e78d7508b3e42ab2abb7d59cc
parentcd84d8001e5446f6d1a4eca15a502188207523b4
RDMA/irdma: CQ size and shadow update changes for GEN3

CQ shadow area should not be updated at the end of a page (once every
64th CQ entry), except when CQ has no more CQEs. SW must also increase
the requested CQ size by 1 and make sure the CQ is not exactly one page
in size. This is to address a quirk in the hardware.

Signed-off-by: Jay Bhat <jay.bhat@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Link: https://patch.msgid.link/20251031021726.1003-4-tatyana.e.nikolova@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/main.h
drivers/infiniband/hw/irdma/uk.c
drivers/infiniband/hw/irdma/user.h
drivers/infiniband/hw/irdma/utils.c
drivers/infiniband/hw/irdma/verbs.c