hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/infiniband/hw/hns/Kconfig
....@@ -1,32 +1,34 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config INFINIBAND_HNS
23 tristate "HNS RoCE Driver"
34 depends on NET_VENDOR_HISILICON
4
- depends on INFINIBAND_USER_ACCESS || !INFINIBAND_USER_ACCESS
55 depends on ARM64 || (COMPILE_TEST && 64BIT)
6
- ---help---
6
+ depends on (HNS_DSAF && HNS_ENET) || HNS3
7
+ help
78 This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
89 is used in Hisilicon Hip06 and more further ICT SoC based on
910 platform device.
1011
11
- To compile this driver as a module, choose M here: the module
12
- will be called hns-roce.
12
+ To compile HIP06 or HIP08 driver as module, choose M here.
1313
1414 config INFINIBAND_HNS_HIP06
15
- tristate "Hisilicon Hip06 Family RoCE support"
15
+ bool "Hisilicon Hip06 Family RoCE support"
1616 depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
17
- ---help---
17
+ depends on INFINIBAND_HNS=m || (HNS_DSAF=y && HNS_ENET=y)
18
+ help
1819 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
1920 Hip07 SoC. These RoCE engines are platform devices.
2021
21
- To compile this driver as a module, choose M here: the module
22
- will be called hns-roce-hw-v1.
22
+ To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
23
+ module will be called hns-roce-hw-v1
2324
2425 config INFINIBAND_HNS_HIP08
25
- tristate "Hisilicon Hip08 Family RoCE support"
26
+ bool "Hisilicon Hip08 Family RoCE support"
2627 depends on INFINIBAND_HNS && PCI && HNS3
27
- ---help---
28
+ depends on INFINIBAND_HNS=m || HNS3=y
29
+ help
2830 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
2931 The RoCE engine is a PCI device.
3032
31
- To compile this driver as a module, choose M here: the module
32
- will be called hns-roce-hw-v2.
33
+ To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
34
+ module will be called hns-roce-hw-v2.