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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux