Skip to content

Commit 511e6bc

Browse files
huangdaodedavem330
authored andcommitted
net: add Hisilicon Network Subsystem DSAF support
DSAF, namely Distributed System Area Fabric, is one of the HNS acceleration engine implementation. This patch add DSAF driver to the system. hns_ae_adapt: the adaptor for registering the driver to HNAE framework hns_dsaf_mac: MAC cover interface for GE and XGE hns_dsaf_gmac: GE (10/100/1000G Ethernet) MAC function hns_dsaf_xgmac: XGE (10000+G Ethernet) MAC function hns_dsaf_main: the platform device driver for the whole hardware hns_dsaf_misc: some misc helper function, such as LED support hns_dsaf_ppe: packet process engine function hns_dsaf_rcb: ring buffer function Signed-off-by: huangdaode <[email protected]> Signed-off-by: Yisen Zhuang <[email protected]> Signed-off-by: Kenneth Lee <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 6fe6611 commit 511e6bc

18 files changed

+9798
-0
lines changed

drivers/net/ethernet/hisilicon/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,13 @@ config HNS
4646
is needed by any driver which provides HNS acceleration engine or make
4747
use of the engine
4848

49+
config HNS_DSAF
50+
tristate "Hisilicon HNS DSAF device Support"
51+
select HNS
52+
select HNS_MDIO
53+
---help---
54+
This selects the DSAF (Distributed System Area Frabric) network
55+
acceleration engine support. The engine is used in Hisilicon hip05,
56+
Hi1610 and further ICT SoC
57+
4958
endif # NET_VENDOR_HISILICON

drivers/net/ethernet/hisilicon/hns/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
#
44

55
obj-$(CONFIG_HNS) += hnae.o
6+
7+
obj-$(CONFIG_HNS_DSAF) += hns_dsaf.o
8+
hns_dsaf-objs = hns_ae_adapt.o hns_dsaf_gmac.o hns_dsaf_mac.o hns_dsaf_misc.o \
9+
hns_dsaf_main.o hns_dsaf_ppe.o hns_dsaf_rcb.o hns_dsaf_xgmac.o

0 commit comments

Comments
 (0)