net: add Hisilicon Network Subsystem DSAF support
authorhuangdaode <huangdaode@hisilicon.com>
Thu, 17 Sep 2015 06:51:49 +0000 (14:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 04:42:58 +0000 (21:42 -0700)
commit511e6bc071db1484d1a3d1d0bd4c244cf33910ff
treebd046b19ae822024e31cd6a53fbb7dc98b701c69
parent6fe6611ff275522a4e4c0359e2f46cdd07780d2f
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 <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: Kenneth Lee <liguozhu@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 files changed:
drivers/net/ethernet/hisilicon/Kconfig
drivers/net/ethernet/hisilicon/hns/Makefile
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.h [new file with mode: 0644]