diff options
author | Luoyouming <luoyouming@huawei.com> | 2022-12-24 18:22:01 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-01-09 10:45:28 -0400 |
commit | 1d91855304c2046115ee10be2c93161d93d5d40d (patch) | |
tree | c3fdc3b51660699268844746d768357659146c3e /include/uapi/rdma | |
parent | 2bb185c68bf4c147f43d932e8a34fa150d148940 (diff) | |
download | linux-1d91855304c2046115ee10be2c93161d93d5d40d.tar.gz linux-1d91855304c2046115ee10be2c93161d93d5d40d.tar.bz2 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 { |