]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support
authorSalil Mehta <salil.mehta@huawei.com>
Thu, 14 Dec 2017 18:03:04 +0000 (18:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 15:55:34 +0000 (10:55 -0500)
commitefa29b6d502b6341405fdb80949a8766f3deb101
tree98f037845660a49009266fded802fb42addefd4c
parentb58644f7817ec917bc14f0e23807538bfab90471
net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support

This patch adds the support of hardware compatibiltiy layer to the
HNS3 VF Driver. This layer implements various {set|get} operations
over MAC address for a virtual port, RSS related configuration,
fetches the link status info from PF, does various VLAN related
configuration over the virtual port, queries the statistics from
the hardware etc.

This layer can directly interact with hardware through the
IMP(Integrated Mangement Processor) interface or can use mailbox
to interact with the PF driver.

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c [new file with mode: 0644]
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h [new file with mode: 0644]