]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add *Asserting Reset* mailbox message & handling in VF
authorSalil Mehta <salil.mehta@huawei.com>
Thu, 22 Mar 2018 14:28:59 +0000 (14:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 19:29:04 +0000 (15:29 -0400)
commit1c740505ebd5558c726eaf7ce27942ee4454d8de
tree4e44ede6cf24829b3c73c4ac1c544f83046882c3
parent43c85755b9e6262d3e9bcec380e5e9732bcaff19
net: hns3: Add *Asserting Reset* mailbox message & handling in VF

Reset Asserting message is forwarded by PF to inform VF about
the hardware reset which is about to happen. This might be due
to the earlier VF reset request received by the PF or because PF
for any reason decides to undergo reset. This message results in
VF to go in pending state in which it polls the hardware to
complete the reset and then further resets/tears its own stack.

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