Commit dadff1bc authored by Junxian Huang's avatar Junxian Huang Committed by Juan Zhou
Browse files

RDMA/hns: Fix incorrect congest type configuration

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8HYSU



--------------------------------------------------------------------------

hr_dev->caps.congest_type stands for the supported algorithm set, but
not the specific algorithm type. The correct configuration item should
be ilog2(hr_qp->congest_type).

Fixes: 09f1b7cb ("RDMA/hns: Support congestion control algorithm configuration at QP granularity")
Signed-off-by: default avatarJunxian Huang <huangjunxian6@hisilicon.com>
parent a49c547e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment