File tree Expand file tree Collapse file tree 5 files changed +54
-0
lines changed
drivers/net/ethernet/hisilicon Expand file tree Collapse file tree 5 files changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -6148,6 +6148,14 @@ S: Maintained
6148
6148
F: drivers/net/ethernet/hisilicon/
6149
6149
F: Documentation/devicetree/bindings/net/hisilicon*.txt
6150
6150
6151
+ HISILICON NETWORK SUBSYSTEM 3 DRIVER (HNS3)
6152
+ M: Yisen Zhuang <yisen.zhuang@huawei.com>
6153
+ M: Salil Mehta <salil.mehta@huawei.com>
6154
+ L: netdev@vger.kernel.org
6155
+ W: http://www.hisilicon.com
6156
+ S: Maintained
6157
+ F: drivers/net/ethernet/hisilicon/hns3/
6158
+
6151
6159
HISILICON ROCE DRIVER
6152
6160
M: Lijun Ou <oulijun@huawei.com>
6153
6161
M: Wei Hu(Xavier) <xavier.huwei@huawei.com>
Original file line number Diff line number Diff line change @@ -76,4 +76,31 @@ config HNS_ENET
76
76
This selects the general ethernet driver for HNS. This module make
77
77
use of any HNS AE driver, such as HNS_DSAF
78
78
79
+ config HNS3
80
+ tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
81
+ depends on PCI
82
+ ---help---
83
+ This selects the framework support for Hisilicon Network Subsystem 3.
84
+ This layer facilitates clients like ENET, RoCE and user-space ethernet
85
+ drivers(like ODP)to register with HNAE devices and their associated
86
+ operations.
87
+
88
+ config HNS3_HCLGE
89
+ tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
90
+ depends on PCI_MSI
91
+ depends on HNS3
92
+ ---help---
93
+ This selects the HNS3_HCLGE network acceleration engine & its hardware
94
+ compatibility layer. The engine would be used in Hisilicon hip08 family of
95
+ SoCs and further upcoming SoCs.
96
+
97
+ config HNS3_ENET
98
+ tristate "Hisilicon HNS3 Ethernet Device Support"
99
+ depends on 64BIT && PCI
100
+ depends on HNS3 && HNS3_HCLGE
101
+ ---help---
102
+ This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08
103
+ family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
104
+ devices and their associated operations.
105
+
79
106
endif # NET_VENDOR_HISILICON
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ obj-$(CONFIG_HIX5HD2_GMAC) += hix5hd2_gmac.o
6
6
obj-$(CONFIG_HIP04_ETH) += hip04_eth.o
7
7
obj-$(CONFIG_HNS_MDIO) += hns_mdio.o
8
8
obj-$(CONFIG_HNS) += hns/
9
+ obj-$(CONFIG_HNS3) += hns3/
9
10
obj-$(CONFIG_HISI_FEMAC) += hisi_femac.o
Original file line number Diff line number Diff line change
1
+ #
2
+ # Makefile for the HISILICON network device drivers.
3
+ #
4
+
5
+ obj-$(CONFIG_HNS3) += hns3pf/
6
+
7
+ obj-$(CONFIG_HNS3) += hnae3.o
Original file line number Diff line number Diff line change
1
+ #
2
+ # Makefile for the HISILICON network device drivers.
3
+ #
4
+
5
+ ccflags-y := -Idrivers/net/ethernet/hisilicon/hns3
6
+
7
+ obj-$(CONFIG_HNS3_HCLGE) += hclge.o
8
+ hclge-objs = hclge_main.o hclge_cmd.o hclge_mdio.o hclge_tm.o
9
+
10
+ obj-$(CONFIG_HNS3_ENET) += hns3.o
11
+ hns3-objs = hns3_enet.o hns3_ethtool.o
You can’t perform that action at this time.
0 commit comments