]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/hns: Fix port active speed
authorChengchang Tang <tangchengchang@huawei.com>
Fri, 4 Aug 2023 01:27:08 +0000 (09:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:46 +0000 (12:22 +0200)
commit154822356e4d9ebb0460886afe769db6e5d4d00d
tree77894df94048a6d4575fdd508bbff97fdd040c7a
parentde4aca5b284ebf3d4d9e29f8158fdcda1ef00d0a
RDMA/hns: Fix port active speed

[ Upstream commit df1bcf90a66a10967a3a43510b42cb3566208011 ]

HW supports a variety of different speed, but the current speed
is fixed.

The real speed should be querried from ethernet.

Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20230804012711.808069-2-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_main.c