Re: [PATCH] RDMA/bnxt_re: Fix max_qp_wrs reported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 30, 2020 at 05:13:06AM -0800, Selvin Xavier wrote:
> While creating qps, driver adds one extra entry to the sq size
> passed by the ULPs in order to avoid queue full condition.
> When ULPs creates QPs with max_qp_wr reported, driver creates
> QP with 1 more than the max_wqes supported by HW. Create QP fails
> in this case. To avoid this error, reduce 1 entry in max_qp_wqes
> and report it to the stack.
> 
> Signed-off-by: Devesh Sharma <devesh.sharma@xxxxxxxxxxxx>
> Signed-off-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/bnxt_re/qplib_sp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux