-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RDMA/hns: Split hw v1 driver from hns roce driver
The hardware relevant definitions and operations are implemented in hns_roce_hw_v* file. According to the diversity chips, the file is named as hns_roce_hw_v1.c or hns_roce_hw_v2.c etc. The general software process flow, common structures and allocated algorithms are implemented in other files located in hns roce driver. In order to support the scalability of the hardware version, the common driver features are in the hns-roce.ko, and the hardware relevant operations are in hns_roce_hw_v1.ko or hns_roce_hw_v2.ko based on the series chips. Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Shaobo Xu <xushaobo2@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
- Loading branch information
Wei Hu(Xavier)
authored and
Doug Ledford
committed
Sep 27, 2017
1 parent
e19b205
commit 08805fd
Showing
12 changed files
with
330 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
config INFINIBAND_HNS | ||
tristate "HNS RoCE Driver" | ||
depends on NET_VENDOR_HISILICON | ||
depends on (ARM64 || (COMPILE_TEST && 64BIT)) && HNS && HNS_DSAF && HNS_ENET | ||
depends on ARM64 || (COMPILE_TEST && 64BIT) | ||
---help--- | ||
This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine | ||
is used in Hisilicon Hi1610 and more further ICT SoC. | ||
is used in Hisilicon Hip06 and more further ICT SoC based on | ||
platform device. | ||
|
||
To compile this driver as a module, choose M here: the module | ||
will be called hns-roce. | ||
|
||
config INFINIBAND_HNS_HIP06 | ||
tristate "Hisilicon Hip06 Family RoCE support" | ||
depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET | ||
---help--- | ||
RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and | ||
Hip07 SoC. These RoCE engines are platform devices. | ||
|
||
To compile this driver as a module, choose M here: the module | ||
will be called hns-roce-hw-v1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.