]> git.hungrycats.org Git - linux/commit
RDMA/irdma: Set the CQ read threshold for GEN 1
authorMustafa Ismail <mustafa.ismail@intel.com>
Wed, 31 Jan 2024 23:38:48 +0000 (17:38 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:21:57 +0000 (13:21 +0100)
commit056ed95befd1eb71038da9bfdf4e39486123054a
tree4a6fd53ba6499a9096517905dfeebca3c00af149
parenta95d4cf827757009d13e4cf369b3df0d768edca0
RDMA/irdma: Set the CQ read threshold for GEN 1

[ Upstream commit 666047f3ece9f991774c1fe9b223139a9ef8908d ]

The CQ shadow read threshold is currently not set for GEN 2.  This could
cause an invalid CQ overflow condition, so remove the GEN check that
exclused GEN 1.

Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Sindhu Devale <sindhu.devale@intel.com>
Link: https://lore.kernel.org/r/20240131233849.400285-4-sindhu.devale@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/irdma/verbs.c