net: add Hisilicon Network Subsystem basic ethernet support
authorhuangdaode <huangdaode@hisilicon.com>
Thu, 17 Sep 2015 06:51:50 +0000 (14:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 04:42:58 +0000 (21:42 -0700)
commitb5996f11ea5496d0445078f47d22c987888ed467
treeb0b809f4569d3a95ffcc3711314167f83209ce70
parent511e6bc071db1484d1a3d1d0bd4c244cf33910ff
net: add Hisilicon Network Subsystem basic ethernet support

This is to add basic ethernet support for HNS. It is one of the way to
use the HNS acceleration engine. But most of the decoding/encoding
capability of the AE cannot be used in this way.

This submit contains the basic feature as a ethernet driver. More will
be added later.

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>
drivers/net/ethernet/hisilicon/Kconfig
drivers/net/ethernet/hisilicon/hns/Makefile
drivers/net/ethernet/hisilicon/hns/hns_enet.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_enet.h [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c [new file with mode: 0644]