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)
committerLeon Romanovsky <leon@kernel.org>
Sun, 4 Feb 2024 09:36:26 +0000 (11:36 +0200)
commit666047f3ece9f991774c1fe9b223139a9ef8908d
treec6a51096cc0c87cea5e85d590549cd6aa88349ee
parentee107186bcfd25d7873258f3f75440e20f5e6416
RDMA/irdma: Set the CQ read threshold for GEN 1

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>
drivers/infiniband/hw/irdma/verbs.c