Skip to content

Commit

Permalink
net: add Hisilicon Network Subsystem hnae framework support
Browse files Browse the repository at this point in the history
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 <huangdaode@hisilicon.com>
Signed-off-by: Kenneth Lee <liguozhu@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
huangdaode authored and David S. Miller committed Sep 21, 2015
1 parent 5b904d3 commit 6fe6611
Show file tree
Hide file tree
Showing 5 changed files with 1,103 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/net/ethernet/hisilicon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,11 @@ config HNS_MDIO
This selects the HNS MDIO support. It is needed by HNS_DSAF to access
the PHY

config HNS
tristate "Hisilicon Network Subsystem Support (Framework)"
---help---
This selects the framework support for Hisilicon Network Subsystem. It
is needed by any driver which provides HNS acceleration engine or make
use of the engine

endif # NET_VENDOR_HISILICON
1 change: 1 addition & 0 deletions drivers/net/ethernet/hisilicon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
obj-$(CONFIG_HIX5HD2_GMAC) += hix5hd2_gmac.o
obj-$(CONFIG_HIP04_ETH) += hip04_eth.o
obj-$(CONFIG_HNS_MDIO) += hns_mdio.o
obj-$(CONFIG_HNS) += hns/
5 changes: 5 additions & 0 deletions drivers/net/ethernet/hisilicon/hns/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Makefile for the HISILICON network device drivers.
#

obj-$(CONFIG_HNS) += hnae.o
Loading

0 comments on commit 6fe6611

Please sign in to comment.