net: hns3: Add support of the HNAE3 framework
authorSalil <salil.mehta@huawei.com>
Wed, 2 Aug 2017 15:59:46 +0000 (16:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:08:17 +0000 (15:08 -0700)
commit38caee9d3ee8b32b36912f54e19438eddd126772
treead87e1289263e8ad17143029cd9d306f73aa780a
parent76ad4f0ee74758341e44a8871df6ca60906d2795
net: hns3: Add support of the HNAE3 framework

This patch adds the support of the HNAE3 (Hisilicon Network
Acceleration Engine 3) framework support to the HNS3 driver.

Framework facilitates clients like ENET(HNS3 Ethernet Driver), RoCE
and user-space Ethernet drivers (like ODP etc.) to register with HNAE3
devices and their associated operations.

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns3/hnae3.h [new file with mode: 0644]