linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Weihang Li <liweihang@huawei.com>
Cc: dledford@redhat.com, leon@kernel.org, linux-rdma@vger.kernel.org,
	linuxarm@huawei.com
Subject: Re: [PATCH v4 for-next] RDMA/hns: Add support for reporting wc as software mode
Date: Fri, 10 Jan 2020 11:18:45 -0400	[thread overview]
Message-ID: <20200110151845.GB7407@ziepe.ca> (raw)
In-Reply-To: <1578572412-25756-1-git-send-email-liweihang@huawei.com>

On Thu, Jan 09, 2020 at 08:20:12PM +0800, Weihang Li wrote:
> From: Xi Wang <wangxi11@huawei.com>
> 
> When hardware is in resetting stage, we may can't poll back all the
> expected work completions as the hardware won't generate cqe anymore.
> 
> This patch allows the driver to compose the expected wc instead of the
> hardware during resetting stage. Once the hardware finished resetting, we
> can poll cq from hardware again.
> 
> Signed-off-by: Xi Wang <wangxi11@huawei.com>
> Signed-off-by: Weihang Li <liweihang@huawei.com>
> ---
> Sorry to keep sending new version of this patch. It was because some issues
> were found since last version or there are some conflicts to apply it to
> the branch.
> 
> Considering that this patch hasn't got comments from any others in the
> community, please forget about previous versions and treat this as a new
> one. Any suggestions will be appreciated.
> 
> Changes since v3:
> - Fix conflicts with recently applied patches.
> 
> Changes since v2:
> - Fix cq poll failure for qp1 when device reseting and do a rebase.
> 
> Changes since v1:
> - Remove a deplicate cq_clean statement.
> 
>  drivers/infiniband/hw/hns/hns_roce_cq.c     |   2 +
>  drivers/infiniband/hw/hns/hns_roce_device.h |  17 +++
>  drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |  14 ++-
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 158 +++++++++++++++++++++++-----
>  drivers/infiniband/hw/hns/hns_roce_main.c   |  47 +++++++++
>  drivers/infiniband/hw/hns/hns_roce_qp.c     |  48 ++++++++-
>  6 files changed, 252 insertions(+), 34 deletions(-)

Applied to for-next, thanks

Jason

      reply	other threads:[~2020-01-10 15:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09 12:20 [PATCH v4 for-next] RDMA/hns: Add support for reporting wc as software mode Weihang Li
2020-01-10 15:18 ` 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=20200110151845.GB7407@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=liweihang@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).