commit | 623793c8da90e622bc839f058d66724d1016352a | [log] [tgz] |
---|---|---|
author | Kamal Heib <kamalheib1@gmail.com> | Sun Nov 08 15:20:07 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:53:19 2020 +0100 |
tree | 5980d90569ca29c2b089ea8f87251d7754fb8c46 | |
parent | 7688ca1121ba0a5a4f385fe9f176f0feb0d60307 [diff] |
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: cfdda9d76436 ("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>