]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit32b1bf43afb09d696acb6195727dfc43e42ba487
treead87e1289263e8ad17143029cd9d306f73aa780a
parent6e2406330b28efb7b7b5dd74cf34fc4dcac96510
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]