diff options
author | Sindhu-Devale <sindhu.devale@intel.com> | 2022-09-06 17:32:40 -0500 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-09-07 11:22:17 +0300 |
commit | 12faad5e5cf2372af2d51f348b697b5edf838daf (patch) | |
tree | 1f8b30e33cad5fe421d36e46552a19841fe7496a /lib/mpi/mpiutil.c | |
parent | bc7a2c9b17773c89f2f9c09ac9f9233716d6cd08 (diff) |
RDMA/irdma: Report the correct max cqes from query device
Report the correct max cqes available to an application taking
into account a reserved entry to detect overflow.
Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Sindhu-Devale <sindhu.devale@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20220906223244.1119-2-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions