[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240208035038.94668-1-huangjunxian6@hisilicon.com>
Date: Thu, 8 Feb 2024 11:50:36 +0800
From: Junxian Huang <huangjunxian6@...ilicon.com>
To: <jgg@...pe.ca>, <leon@...nel.org>
CC: <linux-rdma@...r.kernel.org>, <linuxarm@...wei.com>,
<linux-kernel@...r.kernel.org>, <huangjunxian6@...ilicon.com>
Subject: [PATCH v2 for-next 0/2] RDMA/hns: Support configuring congestion control algorithm with QP granularity
Commit 27c5fd271d8b ("RDMA/hns: The UD mode can only be configured
with DCQCN") adds a restriction that only DCQCN is supported for
UD QPs, but at the same time introduced other problem mistakenly.
Patch #1 reverts the previous modification and fixes the algorithm
issue for UD by configuring congestion control algorithm with QP
granularity.
Patch #2 adds support for userspace configuring congestion control
algorithm with QP granularity.
v1 -> v2:
* Not only revert but also fix the UD algorithm issue in patch #1.
Junxian Huang (1):
RDMA/hns: Support userspace configuring congestion control algorithm
with QP granularity
Luoyouming (1):
RDMA/hns: Fix mis-modifying default congestion control algorithm
drivers/infiniband/hw/hns/hns_roce_device.h | 26 +++++---
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 18 ++----
drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 3 +-
drivers/infiniband/hw/hns/hns_roce_main.c | 3 +
drivers/infiniband/hw/hns/hns_roce_qp.c | 71 +++++++++++++++++++++
include/uapi/rdma/hns-abi.h | 17 +++++
6 files changed, 118 insertions(+), 20 deletions(-)
--
2.30.0
Powered by blists - more mailing lists