]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add support to request VF Reset to PF
authorSalil Mehta <salil.mehta@huawei.com>
Thu, 22 Mar 2018 14:28:55 +0000 (14:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 19:29:03 +0000 (15:29 -0400)
commitc243fdd9fd8d72e572310acd113839fb0aad078a
tree923135bcde62d637cf71bcf659b371a60aa5050f
parent8fd18a36893432acac29335cc3b0a5f58b8d52d5
net: hns3: Add support to request VF Reset to PF

VF driver depends upon PF to eventually reset the hardware. This
request is made using the mailbox command. This patch adds the
required function to acheive above.

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c