mbox series

[v2,for-next,0/2] RDMA/hns: Support to select congestion control algorithm

Message ID 1616679236-7795-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Support to select congestion control algorithm | expand

Message

Weihang Li March 25, 2021, 1:33 p.m. UTC
The configuration of congestion control algorithm is recorded in the
firmware, the driver queries it and then sets it to the hardware.

Changes since v1:
- Use union to parse information got from firmware instead of force
  casting.
- https://patchwork.kernel.org/project/linux-rdma/cover/1615542507-40018-1-git-send-email-liweihang@huawei.com/

Wei Xu (1):
  RDMA/hns: Support query information of functions from FW

Yangyang Li (1):
  RDMA/hns: Support congestion control type selection according to the
    FW

 drivers/infiniband/hw/hns/hns_roce_device.h |  11 ++
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 190 ++++++++++++++++++++++++++++
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  38 +++++-
 drivers/infiniband/hw/hns/hns_roce_main.c   |   2 +
 4 files changed, 237 insertions(+), 4 deletions(-)

Comments

Jason Gunthorpe April 1, 2021, 6:27 p.m. UTC | #1
On Thu, Mar 25, 2021 at 09:33:54PM +0800, Weihang Li wrote:
> The configuration of congestion control algorithm is recorded in the
> firmware, the driver queries it and then sets it to the hardware.
> 
> Changes since v1:
> - Use union to parse information got from firmware instead of force
>   casting.
> - https://patchwork.kernel.org/project/linux-rdma/cover/1615542507-40018-1-git-send-email-liweihang@huawei.com/
> 
> Wei Xu (1):
>   RDMA/hns: Support query information of functions from FW
> 
> Yangyang Li (1):
>   RDMA/hns: Support congestion control type selection according to the
>     FW

Applied to for-next, thanks

Jason