]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Modify fields of struct hns_roce_srq
authorYixian Liu <liuyixian@huawei.com>
Tue, 5 Nov 2019 11:07:57 +0000 (19:07 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 8 Nov 2019 20:37:54 +0000 (16:37 -0400)
commit9151016cdf70ee392071f21ba06cbe37d3cc0234
tree49d1e1c3f25fe6c90468a0afdc57851049b1947e
parentc5dbb93e66931c78ae6a164506f8b971a2edaac1
RDMA/hns: Modify fields of struct hns_roce_srq

Use wqe_cnt instead of max which means the queue size of srq, and remove
wqe_ctr which is not used.

Link: https://lore.kernel.org/r/1572952082-6681-5-git-send-email-liweihang@hisilicon.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_srq.c