]> 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)
commite19a0c0541b23fe9e8cb35b1952fd37c8010788a
treead87e1289263e8ad17143029cd9d306f73aa780a
parent327a841d1dd9450f4c446ebf7b56e3454bfba058
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]