]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Refactor the QP context filling process related to WQE buffer configure
authorXi Wang <wangxi11@huawei.com>
Wed, 20 May 2020 13:53:18 +0000 (21:53 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 May 2020 17:02:13 +0000 (14:02 -0300)
commit43d1719e3cb08dea035282a1b568a301c4de3b61
tree430e00a2898507eeb11cc6150dac4795addddff7
parent6446b2f492ccdb037eb67974d476f1c2870a9332
RDMA/hns: Refactor the QP context filling process related to WQE buffer configure

Split the code related to WQE buffer configure from the QPC filling
process into two functions: config_qp_sq_buf() and config_qp_rq_buf(),
this will make the code more readable.

Link: https://lore.kernel.org/r/1589982799-28728-9-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c