linux/drivers/infiniband
Kamal Heib 0b2f0afa3d RDMA/cxgb4: Validate the number of CQEs
[ Upstream commit 6d8285e604 ]

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:25:56 +01:00
..
core RDMA/cm: Fix an attempt to use non-valid pointer when cleaning timewait 2020-12-30 11:25:45 +01:00
hw RDMA/cxgb4: Validate the number of CQEs 2020-12-30 11:25:56 +01:00
sw RDMA/rxe: Compute PSN windows correctly 2020-12-30 11:25:50 +01:00
ulp RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah() 2020-08-21 11:05:34 +02:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00