OSDN Git Service

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)
commitd938d7856f4253f81906af0b9ca67c6a6e51cbaf
tree49d1e1c3f25fe6c90468a0afdc57851049b1947e
parent03ccba5c2cf7ec5149c59039a5644233a2f60ca9
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