diff options
author | Lijun Ou <oulijun@huawei.com> | 2018-11-24 16:49:20 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-12-05 07:59:13 -0700 |
commit | 5c1f167af112746eb97621f12b4053d4f66c0357 (patch) | |
tree | eac9ef7cd402bf2f801ba986c4f1b090afa637d5 /drivers/infiniband/hw/hns/hns_roce_hem.h | |
parent | d16da11992d44fb54d99b71408b201311d81e0af (diff) | |
download | lwn-5c1f167af112746eb97621f12b4053d4f66c0357.tar.gz lwn-5c1f167af112746eb97621f12b4053d4f66c0357.zip |
RDMA/hns: Init SRQ table for hip08
This patch inits hem resource for SRQ table, includes
SRQWQE and SRQWQE index resource.
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hem.h')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hem.h b/drivers/infiniband/hw/hns/hns_roce_hem.h index e8850d59e780..a650278c6fbd 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hem.h +++ b/drivers/infiniband/hw/hns/hns_roce_hem.h @@ -48,6 +48,8 @@ enum { /* UNMAP HEM */ HEM_TYPE_MTT, HEM_TYPE_CQE, + HEM_TYPE_SRQWQE, + HEM_TYPE_IDX, HEM_TYPE_IRRL, HEM_TYPE_TRRL, }; |