mbox series

[v2,for-next,0/3] Add DCQCN support for hip08

Message ID 1542959998-62537-1-git-send-email-oulijun@huawei.com (mailing list archive)
Headers show
Series Add DCQCN support for hip08 | expand

Message

Lijun Ou Nov. 23, 2018, 7:59 a.m. UTC
Data Center Quantized Congestion Notification (DCQCN) is a congestion control
protocol for large scale RDMA networks. In order to support it, The design of
hip08 add a Sofware Congestion Control(SCC) module, which support flow control
of 1M QPs. The driver implements the following works:
  1.Allocate memory for SCC, which is used for flow contrl info of QPs.
  2.Initialize SCC, memory should be clear before used.
  3.Allocate memory for timeout retransmission for accurating
  retransmission interval.

Yangyang Li (3):
  RDMA/hns: Add SCC context allocation support for hip08
  RDMA/hns: Add SCC context clr support for hip08
  RDMA/hns: Add timer allocation support for hip08

 drivers/infiniband/hw/hns/hns_roce_cmd.h    |  12 ++
 drivers/infiniband/hw/hns/hns_roce_device.h |  37 ++++++
 drivers/infiniband/hw/hns/hns_roce_hem.c    |  68 +++++++++-
 drivers/infiniband/hw/hns/hns_roce_hem.h    |   3 +
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 195 +++++++++++++++++++++++++++-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  64 ++++++++-
 drivers/infiniband/hw/hns/hns_roce_main.c   |  54 ++++++++
 drivers/infiniband/hw/hns/hns_roce_qp.c     |  29 ++++-
 8 files changed, 454 insertions(+), 8 deletions(-)