linux_dsm_epyc7002/drivers/infiniband
Kamal Heib 623793c8da RDMA/cxgb4: Validate the number of CQEs
[ Upstream commit 6d8285e604e0221b67bd5db736921b7ddce37d00 ]

Before create CQ, make sure that the requested number of CQEs is in the
supported range.

Fixes: cfdda9d764 ("RDMA/cxgb4: Add driver for Chelsio T4 RNIC")
Link: https://lore.kernel.org/r/20201108132007.67537-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:19 +01:00
..
core RDMA/cma: Add missing error handling of listen_id 2020-12-30 11:53:12 +01:00
hw RDMA/cxgb4: Validate the number of CQEs 2020-12-30 11:53:19 +01:00
sw RDMA/rxe: Compute PSN windows correctly 2020-12-30 11:52:58 +01:00
ulp RDMA/rtrs-srv: Don't guard the whole __alloc_srv with srv_mutex 2020-12-30 11:52:59 +01:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00