Commit 85ab79ac authored by Wenpeng Liang's avatar Wenpeng Liang Committed by Greg Kroah-Hartman
Browse files

RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()

[ Upstream commit 82600b2d ]

To reduce the code size and make the code clearer, replace all
roce_set_xxx() with hr_reg_xxx() to write the data fields.

Link: https://lore.kernel.org/r/20220512080012.38728-2-liangwenpeng@huawei.com


Signed-off-by: default avatarWenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Stable-dep-of: 9e272ed6 ("RDMA/hns: Disable local invalidate operation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent be16cc7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment