diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2020-11-08 15:20:07 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-23 16:19:46 -0400 |
commit | 6d8285e604e0221b67bd5db736921b7ddce37d00 (patch) | |
tree | 787917ee6c253a35a6bd8156d43c31364b886be0 /drivers/infiniband/hw/qib | |
parent | a9d2e9ae953f0ddd0327479c81a085adaa76d903 (diff) |
RDMA/cxgb4: Validate the number of CQEs
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>
Diffstat (limited to 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions