RDMA/hns: Support cqe inline in user space
authorLuoyouming <luoyouming@huawei.com>
Sat, 24 Dec 2022 10:22:01 +0000 (18:22 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 9 Jan 2023 14:45:28 +0000 (10:45 -0400)
commit1d91855304c2046115ee10be2c93161d93d5d40d
treec3fdc3b51660699268844746d768357659146c3e
parent2bb185c68bf4c147f43d932e8a34fa150d148940
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>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
drivers/infiniband/hw/hns/hns_roce_main.c
include/uapi/rdma/hns-abi.h