diff options
author | Wenpeng Liang <liangwenpeng@huawei.com> | 2022-05-12 10:00:12 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-05-12 19:16:28 +0200 |
commit | 813c980294d48362ead5422b056072ed214ca2bf (patch) | |
tree | 6f41e74caf1b991406ebdbcfc725c273f39742cf /drivers/infiniband/hw/qedr/main.c | |
parent | RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx() (diff) | |
download | linux-813c980294d48362ead5422b056072ed214ca2bf.tar.xz linux-813c980294d48362ead5422b056072ed214ca2bf.zip |
RDMA/hns: Use hr_reg_read() instead of remaining roce_get_xxx()
To reduce the code size and make the code clearer, replace all
roce_get_xxx() with hr_reg_read() to read the data fields.
Link: https://lore.kernel.org/r/20220512080012.38728-3-liangwenpeng@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/qedr/main.c')
0 files changed, 0 insertions, 0 deletions