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.
9
10	  To compile HIP08 driver as module, choose M here.
11
12config INFINIBAND_HNS_HIP08
13	bool "Hisilicon Hip08 Family RoCE support"
14	depends on INFINIBAND_HNS && PCI && HNS3
15	depends on INFINIBAND_HNS=m || HNS3=y
16	help
17	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
18	  The RoCE engine is a PCI device.
19
20	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
21	  module will be called hns-roce-hw-v2.
22