[PATCH for-next 0/2] RDMA/hns: Support configuring congestion control algorithm with QP granularity

From: Junxian Huang
Date: Tue Feb 06 2024 - 22:33:30 EST


Patch #1 reverts a previous bugfix that was intended to add restriction
to congestion control algorithm for UD but mistakenly introduced other
problem.

Patch #2 adds support for configuring congestion control algorithm with
QP granularity. The algorithm restriction for UD is added in this patch.

Junxian Huang (1):
RDMA/hns: Support configuring congestion control algorithm with QP
granularity

Luoyouming (1):
Revert "RDMA/hns: The UD mode can only be configured with DCQCN"

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