xref: /openbmc/linux/drivers/infiniband/hw/hns/Kconfig (revision f21e49be)
1# SPDX-License-Identifier: GPL-2.0-only
2config INFINIBAND_HNS
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
7	help
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
10	  platform device.
11
12	  To compile HIP06 or HIP08 driver as module, choose M here.
13
14config 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)
18	help
19	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
20	  Hip07 SoC. These RoCE engines are platform devices.
21
22	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
23	  module will be called hns-roce-hw-v1
24
25config 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
29	help
30	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
31	  The RoCE engine is a PCI device.
32
33	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
34	  module will be called hns-roce-hw-v2.
35