From: Weihang Li <liweihang@huawei.com>
To: Jason Gunthorpe <jgg@ziepe.ca>, Weihang Li <liweihang@hisilicon.com>
Cc: <dledford@redhat.com>, <linux-rdma@vger.kernel.org>,
<linuxarm@huawei.com>
Subject: Re: [PATCH for-next] RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs
Date: Sat, 4 Jan 2020 13:57:56 +0800 [thread overview]
Message-ID: <c5270773-5c22-3402-48e6-565e2442d360@huawei.com> (raw)
In-Reply-To: <20200103195104.GA19725@ziepe.ca>
On 2020/1/4 3:51, Jason Gunthorpe wrote:
> On Tue, Dec 10, 2019 at 08:45:02PM +0800, Weihang Li wrote:
>> From: Yixian Liu <liuyixian@huawei.com>
>>
>> Currently, the wqe idx is calculated repeatly everywhere it is used.
>> This patch defines wqe_idx and calculated it only once, then just use it
>> as needed.
>>
>> Fixes: 2d40788825ac ("RDMA/hns: Add support for processing send wr and
>> receive wr")
>
> Please don't wrap fixes tags
I see, thank you.
Weihang
>
>> Signed-off-by: Yixian Liu <liuyixian@huawei.com>
>> Signed-off-by: Weihang Li <liweihang@hisilicon.com>
>> ---
>> drivers/infiniband/hw/hns/hns_roce_device.h | 3 +-
>> drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 37 +++++++++++--------------
>> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 43 ++++++++++++-----------------
>> 3 files changed, 35 insertions(+), 48 deletions(-)
>
> Applied to for-next, thanks
>
> Jason
>
>
prev parent reply other threads:[~2020-01-04 5:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-10 12:45 [PATCH for-next] RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs Weihang Li
2020-01-03 19:51 ` Jason Gunthorpe
2020-01-04 5:57 ` Weihang Li [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=c5270773-5c22-3402-48e6-565e2442d360@huawei.com \
--to=liweihang@huawei.com \
--cc=dledford@redhat.com \
--cc=jgg@ziepe.ca \
--cc=linux-rdma@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=liweihang@hisilicon.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