aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_restrack.c
diff options
context:
space:
mode:
authorWenpeng Liang <liangwenpeng@huawei.com>2022-05-12 16:00:11 +0800
committerJason Gunthorpe <jgg@nvidia.com>2022-05-12 14:16:28 -0300
commit82600b2d3cd57428bdb03c66ae67708d3c8f7281 (patch)
tree1a410f5bef8177bbf3e92f848714f58882865cee /drivers/infiniband/hw/hns/hns_roce_restrack.c
parentRDMA/irdma: Add SW mechanism to generate completions on error (diff)
downloadlinux-dev-82600b2d3cd57428bdb03c66ae67708d3c8f7281.tar.xz
linux-dev-82600b2d3cd57428bdb03c66ae67708d3c8f7281.zip
RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()
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: Wenpeng Liang <liangwenpeng@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions