Skip to content

Commit 6fe6611

Browse files
huangdaodedavem330
authored andcommitted
net: add Hisilicon Network Subsystem hnae framework support
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a unified ring buffer interface for Hisilicon Network Acceleration Engines. With the interface, upper layer can work as ethernet driver, ODP driver or other service driver on purpose. Signed-off-by: huangdaode <[email protected]> Signed-off-by: Kenneth Lee <[email protected]> Signed-off-by: Yisen Zhuang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5b904d3 commit 6fe6611

File tree

5 files changed

+1103
-0
lines changed

5 files changed

+1103
-0
lines changed

drivers/net/ethernet/hisilicon/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,11 @@ config HNS_MDIO
3939
This selects the HNS MDIO support. It is needed by HNS_DSAF to access
4040
the PHY
4141

42+
config HNS
43+
tristate "Hisilicon Network Subsystem Support (Framework)"
44+
---help---
45+
This selects the framework support for Hisilicon Network Subsystem. It
46+
is needed by any driver which provides HNS acceleration engine or make
47+
use of the engine
48+
4249
endif # NET_VENDOR_HISILICON

drivers/net/ethernet/hisilicon/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
obj-$(CONFIG_HIX5HD2_GMAC) += hix5hd2_gmac.o
66
obj-$(CONFIG_HIP04_ETH) += hip04_eth.o
77
obj-$(CONFIG_HNS_MDIO) += hns_mdio.o
8+
obj-$(CONFIG_HNS) += hns/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Makefile for the HISILICON network device drivers.
3+
#
4+
5+
obj-$(CONFIG_HNS) += hnae.o

0 commit comments

Comments
 (0)