From: Leon Romanovsky <leon@kernel.org>
To: Junxian Huang <huangjunxian6@hisilicon.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, linuxarm@huawei.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH for-next] RDMA/hns: Support congestion control algorithm parameter configuration
Date: Sun, 10 Mar 2024 12:00:27 +0200 [thread overview]
Message-ID: <20240310100027.GC12921@unreal> (raw)
In-Reply-To: <20240308105443.1130283-1-huangjunxian6@hisilicon.com>
On Fri, Mar 08, 2024 at 06:54:43PM +0800, Junxian Huang wrote:
> From: Chengchang Tang <tangchengchang@huawei.com>
>
> hns RoCE supports 4 congestion control algorithms. Each algorihm
> involves multiple parameters. Add port sysfs directory for each
> algorithm to allow modifying their parameters.
Unless Jason changed his position after this rewrite [1], we don't allow
any custom driver sysfs code.
[1] https://lore.kernel.org/all/cover.1623427137.git.leonro@nvidia.com/
>
> Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
> ---
> drivers/infiniband/hw/hns/Makefile | 2 +-
> drivers/infiniband/hw/hns/hns_roce_device.h | 20 ++
> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 59 ++++
> drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 132 ++++++++
> drivers/infiniband/hw/hns/hns_roce_main.c | 3 +
> drivers/infiniband/hw/hns/hns_roce_sysfs.c | 346 ++++++++++++++++++++
> 6 files changed, 561 insertions(+), 1 deletion(-)
> create mode 100644 drivers/infiniband/hw/hns/hns_roce_sysfs.c
Thanks
next prev parent reply other threads:[~2024-03-10 10:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 10:54 [PATCH for-next] RDMA/hns: Support congestion control algorithm parameter configuration Junxian Huang
2024-03-10 10:00 ` Leon Romanovsky [this message]
2024-03-11 2:00 ` Junxian Huang
2024-03-11 7:11 ` Leon Romanovsky
2024-03-11 14:00 ` Junxian Huang
2024-03-12 8:05 ` Leon Romanovsky
2024-03-22 16:32 ` Jason Gunthorpe
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=20240310100027.GC12921@unreal \
--to=leon@kernel.org \
--cc=huangjunxian6@hisilicon.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--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 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).