net: hns3: Add VF Reset Service Task to support event handling
authorSalil Mehta <salil.mehta@huawei.com>
Thu, 22 Mar 2018 14:28:53 +0000 (14:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 19:29:03 +0000 (15:29 -0400)
commit35a1e50343bdae07bffe911e2d9f7e825fafe4f1
tree6fa0e1a1c3b5b71d3d23ce707256c0446f7fd114
parent6d4c3981a8d815466de081138f2e31e9d044c669
net: hns3: Add VF Reset Service Task to support event handling

VF reset would involve handling of different reset related events
from the stack, physical function, mailbox etc. Reset service task
would be used in servicing such reset event requests and later
handling the hardware completions waits and initiating the stack
resets.

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
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h