]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Add window selection field of congestion control
authorYixing Liu <liuyixing1@huawei.com>
Tue, 22 Jun 2021 12:16:03 +0000 (20:16 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Jun 2021 18:14:06 +0000 (15:14 -0300)
commita2c117982eb0b4304eed4acba39053dbb442c4b1
tree06f0dd83744994a7d58c2123247d58b8435fa54b
parentbc0531fcfac632001495436753b9cb4a0af1a611
RDMA/hns: Add window selection field of congestion control

The window selection field is necessary for congestion control of HIP09,
it is got from firmware and then filled into QPC. Some algorithms need it
to decide whether to limit the number of windows.

Fixes: 3a0adbe3616e ("RDMA/hns: Support congestion control type selection according to the FW")
Link: https://lore.kernel.org/r/1624364163-44185-1-git-send-email-liweihang@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h