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:Junxian Huang <huangjunxian6@hisilicon.com>
Loading
Please sign in to comment