18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig INFINIBAND_HNS
38c2ecf20Sopenharmony_ci	tristate "HNS RoCE Driver"
48c2ecf20Sopenharmony_ci	depends on NET_VENDOR_HISILICON
58c2ecf20Sopenharmony_ci	depends on ARM64 || (COMPILE_TEST && 64BIT)
68c2ecf20Sopenharmony_ci	depends on (HNS_DSAF && HNS_ENET) || HNS3
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
98c2ecf20Sopenharmony_ci	  is used in Hisilicon Hip06 and more further ICT SoC based on
108c2ecf20Sopenharmony_ci	  platform device.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  To compile HIP06 or HIP08 driver as module, choose M here.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig INFINIBAND_HNS_HIP06
158c2ecf20Sopenharmony_ci	bool "Hisilicon Hip06 Family RoCE support"
168c2ecf20Sopenharmony_ci	depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
178c2ecf20Sopenharmony_ci	depends on INFINIBAND_HNS=m || (HNS_DSAF=y && HNS_ENET=y)
188c2ecf20Sopenharmony_ci	help
198c2ecf20Sopenharmony_ci	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
208c2ecf20Sopenharmony_ci	  Hip07 SoC. These RoCE engines are platform devices.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
238c2ecf20Sopenharmony_ci	  module will be called hns-roce-hw-v1
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig INFINIBAND_HNS_HIP08
268c2ecf20Sopenharmony_ci	bool "Hisilicon Hip08 Family RoCE support"
278c2ecf20Sopenharmony_ci	depends on INFINIBAND_HNS && PCI && HNS3
288c2ecf20Sopenharmony_ci	depends on INFINIBAND_HNS=m || HNS3=y
298c2ecf20Sopenharmony_ci	help
308c2ecf20Sopenharmony_ci	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
318c2ecf20Sopenharmony_ci	  The RoCE engine is a PCI device.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
348c2ecf20Sopenharmony_ci	  module will be called hns-roce-hw-v2.
35