summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJacob Moroni <jmoroni@google.com>2026-01-20 21:25:46 +0000
committerLeon Romanovsky <leon@kernel.org>2026-01-25 08:54:20 -0500
commit2529aead51673814ebf464723626ac608b8635a5 (patch)
tree9f36d664eeb50dbdfb2b2406c90cdcf5070e162a /rust/alloc/collections/git@git.tavy.me:linux.git
parent2b7c2ba1308a545a2be2d3d041c2c1cde95b700a (diff)
RDMA/irdma: Use CQ ID for CEQE context
The hardware allows for an opaque CQ context field to be carried over into CEQEs for the CQ. Previously, a pointer to the CQ was used for this context. In the normal CQ destroy flow, the CEQ ring is scrubbed to remove any preexisting CEQEs for the CQ that may not have been processed yet so that the CQ structure is not dereferenced in the CEQ ISR after the CQ has been freed. However, in some cases, it is possible for a CEQE to be in flight in HW even after the CQ destroy command completion is received, so it could be missed during the scrub. To protect against this, we can take advantage of the CQ table that already exists and use the CQ ID for this context rather than a CQ pointer. Signed-off-by: Jacob Moroni <jmoroni@google.com> Link: https://patch.msgid.link/20260120212546.1893076-2-jmoroni@google.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions