All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Selvin Xavier <selvin.xavier@broadcom.com>
Cc: <linux-rdma@vger.kernel.org>, <dledford@redhat.com>,
	Devesh Sharma <devesh.sharma@broadcom.com>
Subject: Re: [PATCH] RDMA/bnxt_re: Fix max_qp_wrs reported
Date: Mon, 7 Dec 2020 15:45:35 -0400	[thread overview]
Message-ID: <20201207194535.GA1773945@nvidia.com> (raw)
In-Reply-To: <1606741986-16477-1-git-send-email-selvin.xavier@broadcom.com>

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@broadcom.com>
> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
> ---
>  drivers/infiniband/hw/bnxt_re/qplib_sp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason

      reply	other threads:[~2020-12-07 19:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30 13:13 [PATCH] RDMA/bnxt_re: Fix max_qp_wrs reported Selvin Xavier
2020-12-07 19:45 ` Jason Gunthorpe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201207194535.GA1773945@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=devesh.sharma@broadcom.com \
    --cc=dledford@redhat.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=selvin.xavier@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.