From: Leon Romanovsky <leon@kernel.org>
To: Wenpeng Liang <liangwenpeng@huawei.com>
Cc: jgg@nvidia.com, linux-rdma@vger.kernel.org, linuxarm@huawei.com
Subject: Re: [PATCH for-next 2/8] RDMA/hns: Remove fixed parameter “timeout” in the mailbox
Date: Thu, 24 Feb 2022 15:31:04 +0200 [thread overview]
Message-ID: <YheImBJqSBVsTzDg@unreal> (raw)
In-Reply-To: <20220218110519.37375-3-liangwenpeng@huawei.com>
On Fri, Feb 18, 2022 at 07:05:13PM +0800, Wenpeng Liang wrote:
> From: Chengchang Tang <tangchengchang@huawei.com>
>
> The value of the function parameter “timeout” is unique. Therefore,
> it is unnecessary to specify the parameter “timeout” value each time.
> So remove it.
>
> Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
> Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
> Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
> ---
> drivers/infiniband/hw/hns/hns_roce_cmd.c | 22 ++++++------
> drivers/infiniband/hw/hns/hns_roce_cmd.h | 2 +-
> drivers/infiniband/hw/hns/hns_roce_cq.c | 5 ++-
> drivers/infiniband/hw/hns/hns_roce_device.h | 3 +-
> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 35 +++++++------------
> .../infiniband/hw/hns/hns_roce_hw_v2_dfx.c | 3 +-
> drivers/infiniband/hw/hns/hns_roce_mr.c | 9 ++---
> drivers/infiniband/hw/hns/hns_roce_srq.c | 6 ++--
> 8 files changed, 34 insertions(+), 51 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
next prev parent reply other threads:[~2022-02-24 13:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 11:05 [PATCH for-next 0/8] RDMA/hns: Clean up and refactor mailbox-related code Wenpeng Liang
2022-02-18 11:05 ` [PATCH for-next 1/8] RDMA/hns: Remove the unused parameter "op_modifier" in mailbox Wenpeng Liang
2022-02-24 13:30 ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 2/8] RDMA/hns: Remove fixed parameter “timeout” in the mailbox Wenpeng Liang
2022-02-24 13:31 ` Leon Romanovsky [this message]
2022-02-18 11:05 ` [PATCH for-next 3/8] RDMA/hns: Remove redundant parameter "mailbox" " Wenpeng Liang
2022-02-24 13:31 ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 4/8] RDMA/hns: Fix the wrong type of parameter "op" of " Wenpeng Liang
2022-02-24 13:31 ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 5/8] RDMA/hns: Refactor mailbox functions Wenpeng Liang
2022-02-24 13:30 ` Leon Romanovsky
2022-02-25 10:50 ` Wenpeng Liang
2022-02-18 11:05 ` [PATCH for-next 6/8] RDMA/hns: Remove similar code that configures the hardware contexts Wenpeng Liang
2022-02-24 13:32 ` Leon Romanovsky
2022-02-18 11:05 ` [PATCH for-next 7/8] RDMA/hns: Refactor the alloc_srqc() Wenpeng Liang
2022-02-24 13:35 ` Leon Romanovsky
2022-02-25 10:53 ` Wenpeng Liang
2022-02-18 11:05 ` [PATCH for-next 8/8] RDMA/hns: Refactor the alloc_cqc() Wenpeng Liang
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=YheImBJqSBVsTzDg@unreal \
--to=leon@kernel.org \
--cc=jgg@nvidia.com \
--cc=liangwenpeng@huawei.com \
--cc=linux-rdma@vger.kernel.org \
--cc=linuxarm@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 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.