public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 for-next 0/2] RDMA/hns: Support configuring congestion control algorithm with QP granularity
@ 2024-02-08  3:50 Junxian Huang
  2024-02-08  3:50 ` [PATCH v2 for-next 1/2] RDMA/hns: Fix mis-modifying default congestion control algorithm Junxian Huang
  2024-02-08  3:50 ` [PATCH v2 for-next 2/2] RDMA/hns: Support userspace configuring congestion control algorithm with QP granularity Junxian Huang
  0 siblings, 2 replies; 9+ messages in thread
From: Junxian Huang @ 2024-02-08  3:50 UTC (permalink / raw)
  To: jgg, leon; +Cc: linux-rdma, linuxarm, linux-kernel, huangjunxian6

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-27  7:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-08  3:50 [PATCH v2 for-next 0/2] RDMA/hns: Support configuring congestion control algorithm with QP granularity Junxian Huang
2024-02-08  3:50 ` [PATCH v2 for-next 1/2] RDMA/hns: Fix mis-modifying default congestion control algorithm Junxian Huang
2024-02-08  3:50 ` [PATCH v2 for-next 2/2] RDMA/hns: Support userspace configuring congestion control algorithm with QP granularity Junxian Huang
2024-02-21 15:52   ` Jason Gunthorpe
2024-02-22  7:06     ` Junxian Huang
2024-02-26  8:09       ` Leon Romanovsky
2024-02-26 12:57         ` Junxian Huang
2024-02-26 14:06       ` Jason Gunthorpe
2024-02-27  7:28         ` Junxian Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox