RDMA/hns: Move capability flags of QP and CQ to hns-abi.h
authorWeihang Li <liweihang@huawei.com>
Wed, 2 Dec 2020 01:29:20 +0000 (09:29 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 7 Dec 2020 19:48:51 +0000 (15:48 -0400)
commit53ef4999f07d9c75cdc8effb0cc8c581dc39b1a1
tree7fbf39bf86c755698fb3d63fd532fc03ac2f7957
parent2988ca08ba65848f2705023b054fd8bfc0109c38
RDMA/hns: Move capability flags of QP and CQ to hns-abi.h

These flags will be returned to the userspace through ABI, so they should
be defined in hns-abi.h. Furthermore, there is no need to include
hns-abi.h in every source files, it just needs to be included in the
common header file.

Link: https://lore.kernel.org/r/1606872560-17823-1-git-send-email-liweihang@huawei.com
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cq.c
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_main.c
drivers/infiniband/hw/hns/hns_roce_pd.c
drivers/infiniband/hw/hns/hns_roce_qp.c
drivers/infiniband/hw/hns/hns_roce_srq.c
include/uapi/rdma/hns-abi.h