Skip to content
Commit 083f5179 authored by Sindhu-Devale's avatar Sindhu-Devale Committed by Greg Kroah-Hartman
Browse files

RDMA/irdma: Report the correct max cqes from query device

[ Upstream commit 12faad5e ]

Report the correct max cqes available to an application taking
into account a reserved entry to detect overflow.

Fixes: b48c24c2

 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: default avatarSindhu-Devale <sindhu.devale@intel.com>
Signed-off-by: default avatarShiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20220906223244.1119-2-shiraz.saleem@intel.com
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ddb0d1d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment