Loading
RDMA/hns: Fix missing default values of scc parameters
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9SI44 ---------------------------------------------------------------------- Currently, the driver does not actively read the default parameters of scc, that is, the default parameters are all 0. Therefore, if the user directly modifies any parameter value without actively reading the scc default parameters, other parameters will become 0. This patch will read and save the default value of scc immediately after the driver registers sysfs to avoid the above problems. Fixes: 523f34d8 ("RDMA/hns: Support congestion control algorithm parameter configuration") Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Guofeng Yue <yueguofeng@h-partners.com>