.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | config INFINIBAND_HNS |
---|
2 | 3 | tristate "HNS RoCE Driver" |
---|
3 | 4 | depends on NET_VENDOR_HISILICON |
---|
4 | | - depends on INFINIBAND_USER_ACCESS || !INFINIBAND_USER_ACCESS |
---|
5 | 5 | depends on ARM64 || (COMPILE_TEST && 64BIT) |
---|
6 | | - ---help--- |
---|
| 6 | + depends on (HNS_DSAF && HNS_ENET) || HNS3 |
---|
| 7 | + help |
---|
7 | 8 | This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine |
---|
8 | 9 | is used in Hisilicon Hip06 and more further ICT SoC based on |
---|
9 | 10 | platform device. |
---|
10 | 11 | |
---|
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. |
---|
13 | 13 | |
---|
14 | 14 | config INFINIBAND_HNS_HIP06 |
---|
15 | | - tristate "Hisilicon Hip06 Family RoCE support" |
---|
| 15 | + bool "Hisilicon Hip06 Family RoCE support" |
---|
16 | 16 | 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 |
---|
18 | 19 | RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and |
---|
19 | 20 | Hip07 SoC. These RoCE engines are platform devices. |
---|
20 | 21 | |
---|
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 |
---|
23 | 24 | |
---|
24 | 25 | config INFINIBAND_HNS_HIP08 |
---|
25 | | - tristate "Hisilicon Hip08 Family RoCE support" |
---|
| 26 | + bool "Hisilicon Hip08 Family RoCE support" |
---|
26 | 27 | depends on INFINIBAND_HNS && PCI && HNS3 |
---|
27 | | - ---help--- |
---|
| 28 | + depends on INFINIBAND_HNS=m || HNS3=y |
---|
| 29 | + help |
---|
28 | 30 | RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC. |
---|
29 | 31 | The RoCE engine is a PCI device. |
---|
30 | 32 | |
---|
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. |
---|