1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "HNS RoCE Driver"
4 depends on NET_VENDOR_HISILICON
5 depends on ARM64 || (COMPILE_TEST && 64BIT)
6 depends on (HNS_DSAF && HNS_ENET) || HNS3
8 This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
9 is used in Hisilicon Hip06 and more further ICT SoC based on
12 To compile HIP06 or HIP08 driver as module, choose M here.
14 config INFINIBAND_HNS_HIP06
15 bool "Hisilicon Hip06 Family RoCE support"
16 depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
17 depends on INFINIBAND_HNS=m || (HNS_DSAF=y && HNS_ENET=y)
19 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
20 Hip07 SoC. These RoCE engines are platform devices.
22 To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
23 module will be called hns-roce-hw-v1
25 config INFINIBAND_HNS_HIP08
26 bool "Hisilicon Hip08 Family RoCE support"
27 depends on INFINIBAND_HNS && PCI && HNS3
28 depends on INFINIBAND_HNS=m || HNS3=y
30 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
31 The RoCE engine is a PCI device.
33 To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
34 module will be called hns-roce-hw-v2.