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: b48c24c2 ("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.comSigned-off-by: Leon Romanovsky <leon@kernel.org>
Showing
Please register or sign in to comment