aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/Kconfig
diff options
context:
space:
mode:
authorWei Hu(Xavier) <xavier.huwei@huawei.com>2017-08-30 17:23:01 +0800
committerDoug Ledford <dledford@redhat.com>2017-09-27 08:34:55 -0400
commitdd74282df573192e201ee716c8b621eb322c4fab (patch)
tree59f8edae9ca1008f37eac20cec8d4ad8d5c7ea62 /drivers/infiniband/hw/hns/Kconfig
parentRDMA/hns: Move priv in order to add multiple hns_roce support (diff)
downloadlinux-dev-dd74282df573192e201ee716c8b621eb322c4fab.tar.xz
linux-dev-dd74282df573192e201ee716c8b621eb322c4fab.zip
RDMA/hns: Initialize the PCI device for hip08 RoCE
The hip08 RoCE engine is a PCI device. This patch mainly obtains some information of PCI device for hip08 RoCE from hns3 NIC driver in the initialization. Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Shaobo Xu <xushaobo2@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/Kconfig')
-rw-r--r--drivers/infiniband/hw/hns/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hns/Kconfig b/drivers/infiniband/hw/hns/Kconfig
index 37e33e522c19..fddb5fdf92de 100644
--- a/drivers/infiniband/hw/hns/Kconfig
+++ b/drivers/infiniband/hw/hns/Kconfig
@@ -19,3 +19,13 @@ config INFINIBAND_HNS_HIP06
To compile this driver as a module, choose M here: the module
will be called hns-roce-hw-v1.
+
+config INFINIBAND_HNS_HIP08
+ tristate "Hisilicon Hip08 Family RoCE support"
+ depends on INFINIBAND_HNS && PCI && HNS3
+ ---help---
+ RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
+ The RoCE engine is a PCI device.
+
+ To compile this driver as a module, choose M here: the module
+ will be called hns-roce-hw-v2.