RDMA/hns: Rename wqe buffer related functions
authorXi Wang <wangxi11@huawei.com>
Tue, 10 Mar 2020 11:18:00 +0000 (19:18 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 18 Mar 2020 13:23:11 +0000 (10:23 -0300)
commit6c6e39212b18bffd806423a45359c70221ce0d77
tree6acb82d449e847fff194607dea5f087194cdb41f
parent4e88cef11d1913d1875c7870df4facbd096a062b
RDMA/hns: Rename wqe buffer related functions

There are serval global functions related to wqe buffer in the hns driver
and are called in different files. These symbols cannot directly represent
the namespace they belong to. So add prefix 'hns_roce_' to 3 wqe buffer
related global functions: get_recv_wqe(), get_send_wqe(), and
get_send_extend_sge().

Link: https://lore.kernel.org/r/1583839084-31579-2-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_qp.c