xref: /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig INFINIBAND_HNS
3*4882a593Smuzhiyun	tristate "HNS RoCE Driver"
4*4882a593Smuzhiyun	depends on NET_VENDOR_HISILICON
5*4882a593Smuzhiyun	depends on ARM64 || (COMPILE_TEST && 64BIT)
6*4882a593Smuzhiyun	depends on (HNS_DSAF && HNS_ENET) || HNS3
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
9*4882a593Smuzhiyun	  is used in Hisilicon Hip06 and more further ICT SoC based on
10*4882a593Smuzhiyun	  platform device.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  To compile HIP06 or HIP08 driver as module, choose M here.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig INFINIBAND_HNS_HIP06
15*4882a593Smuzhiyun	bool "Hisilicon Hip06 Family RoCE support"
16*4882a593Smuzhiyun	depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
17*4882a593Smuzhiyun	depends on INFINIBAND_HNS=m || (HNS_DSAF=y && HNS_ENET=y)
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
20*4882a593Smuzhiyun	  Hip07 SoC. These RoCE engines are platform devices.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
23*4882a593Smuzhiyun	  module will be called hns-roce-hw-v1
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig INFINIBAND_HNS_HIP08
26*4882a593Smuzhiyun	bool "Hisilicon Hip08 Family RoCE support"
27*4882a593Smuzhiyun	depends on INFINIBAND_HNS && PCI && HNS3
28*4882a593Smuzhiyun	depends on INFINIBAND_HNS=m || HNS3=y
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
31*4882a593Smuzhiyun	  The RoCE engine is a PCI device.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
34*4882a593Smuzhiyun	  module will be called hns-roce-hw-v2.
35