RDMA/hns: Fix XRC caps on HIP08
authorChengchang Tang <tangchengchang@huawei.com>
Sat, 26 Nov 2022 10:29:11 +0000 (18:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:37 +0000 (13:32 +0100)
commit9f4379692ace14f6f537a47f0dd847a7dfd1f084
tree1713da4a0c835724e7498e7e842a641e4da08560
parent9e711eafabf0337ea48ab3cbe18c127ceb9808d3
RDMA/hns: Fix XRC caps on HIP08

[ Upstream commit 682c0722addae4b4a1440c9db9d8c86cb8e09ce5 ]

XRC caps has been set by default. But in fact, XRC is not supported in
HIP08.

Fixes: 32548870d438 ("RDMA/hns: Add support for XRC on HIP09")
Link: https://lore.kernel.org/r/20221126102911.2921820-7-xuhaoyue1@hisilicon.com
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c