]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/irdma: Do not set IBK_LOCAL_DMA_LKEY for GEN3+
authorJacob Moroni <jmoroni@google.com>
Tue, 25 Nov 2025 02:53:48 +0000 (20:53 -0600)
committerLeon Romanovsky <leon@kernel.org>
Wed, 26 Nov 2025 07:26:05 +0000 (02:26 -0500)
commiteef3ad030b08c0f100cb18de7f604442a1adb8c7
tree46cf762709c3892988d66a5eb0808b5382aa4f2f
parent71d3bdae5eab21cf8991a6f3cd914caa31d5a51f
RDMA/irdma: Do not set IBK_LOCAL_DMA_LKEY for GEN3+

The GEN3 hardware does not appear to support IBK_LOCAL_DMA_LKEY. Attempts
to use it will result in an AE.

Fixes: eb31dfc2b41a ("RDMA/irdma: Restrict Memory Window and CQE Timestamping to GEN3")
Signed-off-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Link: https://patch.msgid.link/20251125025350.180-8-tatyana.e.nikolova@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/verbs.c