xref: /openbmc/linux/drivers/infiniband/hw/hns/Kconfig (revision b830f94f)
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	---help---
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
9	  platform device.
10
11	  To compile HIP06 or HIP08 driver as module, choose M here.
12
13config INFINIBAND_HNS_HIP06
14	bool "Hisilicon Hip06 Family RoCE support"
15	depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
16	---help---
17	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
18	  Hip07 SoC. These RoCE engines are platform devices.
19
20	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
21	  module will be called hns-roce-hw-v1
22
23config INFINIBAND_HNS_HIP08
24	bool "Hisilicon Hip08 Family RoCE support"
25	depends on INFINIBAND_HNS && PCI && HNS3
26	---help---
27	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
28	  The RoCE engine is a PCI device.
29
30	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
31	  module will be called hns-roce-hw-v2.
32