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)
7 This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
8 is used in Hisilicon Hip06 and more further ICT SoC based on
11 To compile HIP06 or HIP08 driver as module, choose M here.
13 config INFINIBAND_HNS_HIP06
14 bool "Hisilicon Hip06 Family RoCE support"
15 depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
17 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
18 Hip07 SoC. These RoCE engines are platform devices.
20 To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
21 module will be called hns-roce-hw-v1
23 config INFINIBAND_HNS_HIP08
24 bool "Hisilicon Hip08 Family RoCE support"
25 depends on INFINIBAND_HNS && PCI && HNS3
27 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
28 The RoCE engine is a PCI device.
30 To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
31 module will be called hns-roce-hw-v2.