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)
commita8dedb65926005e99ab23716b1c77586de83c4f4
tree923135bcde62d637cf71bcf659b371a60aa5050f
parent436667d2e1793995267915d2562f7b14f26c1f63
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