diff options
author | Luoyouming <luoyouming@huawei.com> | 2022-12-24 11:22:01 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-01-09 15:45:28 +0100 |
commit | 1d91855304c2046115ee10be2c93161d93d5d40d (patch) | |
tree | c3fdc3b51660699268844746d768357659146c3e /include/uapi/rdma | |
parent | RDMA/hns: Add compatibility handling for only support userspace rq inline (diff) | |
download | linux-1d91855304c2046115ee10be2c93161d93d5d40d.tar.xz linux-1d91855304c2046115ee10be2c93161d93d5d40d.zip |
RDMA/hns: Support cqe inline in user space
Enable the CQEIE field and configure the CQEIS field of QPC. And add
compatibility handling.
Link: https://lore.kernel.org/r/20221224102201.3114536-4-xuhaoyue1@hisilicon.com
Signed-off-by: Luoyouming <luoyouming@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r-- | include/uapi/rdma/hns-abi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h index 6c0940837d93..2e68a8b0c92c 100644 --- a/include/uapi/rdma/hns-abi.h +++ b/include/uapi/rdma/hns-abi.h @@ -88,11 +88,13 @@ struct hns_roce_ib_create_qp_resp { enum { HNS_ROCE_EXSGE_FLAGS = 1 << 0, HNS_ROCE_RQ_INLINE_FLAGS = 1 << 1, + HNS_ROCE_CQE_INLINE_FLAGS = 1 << 2, }; enum { HNS_ROCE_RSP_EXSGE_FLAGS = 1 << 0, HNS_ROCE_RSP_RQ_INLINE_FLAGS = 1 << 1, + HNS_ROCE_RSP_CQE_INLINE_FLAGS = 1 << 2, }; struct hns_roce_ib_alloc_ucontext_resp { |