aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_pd.c
diff options
context:
space:
mode:
authorWeihang Li <liweihang@huawei.com>2020-12-02 09:29:20 +0800
committerJason Gunthorpe <jgg@nvidia.com>2020-12-07 15:48:51 -0400
commit53ef4999f07d9c75cdc8effb0cc8c581dc39b1a1 (patch)
tree7fbf39bf86c755698fb3d63fd532fc03ac2f7957 /drivers/infiniband/hw/hns/hns_roce_pd.c
parentIB: Fix kernel-doc markups (diff)
downloadlinux-dev-53ef4999f07d9c75cdc8effb0cc8c581dc39b1a1.tar.xz
linux-dev-53ef4999f07d9c75cdc8effb0cc8c581dc39b1a1.zip
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>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_pd.c')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_pd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_pd.c b/drivers/infiniband/hw/hns/hns_roce_pd.c
index 98f69496adb4..45ec91db1553 100644
--- a/drivers/infiniband/hw/hns/hns_roce_pd.c
+++ b/drivers/infiniband/hw/hns/hns_roce_pd.c
@@ -32,7 +32,6 @@
#include <linux/platform_device.h>
#include <linux/pci.h>
-#include <uapi/rdma/hns-abi.h>
#include "hns_roce_device.h"
static int hns_roce_pd_alloc(struct hns_roce_dev *hr_dev, unsigned long *pdn)