RDMA/hns: Support congestion control type selection according to the FW
The type of congestion control algorithm includes DCQCN, LDCP, HC3 and DIP. The driver will select one of them according to the firmware when querying PF capabilities, and then set the related configuration fields into QPC. Link: https://lore.kernel.org/r/1616679236-7795-3-git-send-email-liweihang@huawei.com Signed-off-by:Yangyang Li <liyangyang20@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>
Showing
- drivers/infiniband/hw/hns/hns_roce_device.h 10 additions, 0 deletionsdrivers/infiniband/hw/hns/hns_roce_device.h
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c 164 additions, 0 deletionsdrivers/infiniband/hw/hns/hns_roce_hw_v2.c
- drivers/infiniband/hw/hns/hns_roce_hw_v2.h 24 additions, 3 deletionsdrivers/infiniband/hw/hns/hns_roce_hw_v2.h
- drivers/infiniband/hw/hns/hns_roce_main.c 2 additions, 0 deletionsdrivers/infiniband/hw/hns/hns_roce_main.c
Loading
Please register or sign in to comment