Merge branch 'hns3-next'
authorDavid S. Miller <davem@davemloft.net>
Sat, 11 Jan 2020 22:52:56 +0000 (14:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jan 2020 22:52:56 +0000 (14:52 -0800)
commit5c9166f038257d6130865b267cb45d87f126b3dd
treef47a32c92e8b6cfd3e4440c579ad07ec220f69c4
parent6821af8b7885870ed0dcb299e4b3cd38695538bc
parentc7554dcd6dbff3d1b295062649df4bce410bf50e
Merge branch 'hns3-next'

Huazhong Tan says:

====================
net: hns3: add some misc update about reset issue

This series includes some misc update relating to reset issue.
[patch 1/7] & [patch 2/7] splits hclge_reset()/hclgevf_reset()
into two parts: preparing and rebuilding. Since the procedure
of FLR should be separated out from the reset task([patch 3/7 &
patch 3/7]), then the FLR's processing can reuse these codes.

pci_error_handlers.reset_prepare() is void type function, so
[patch 6/7] & [patch 7/7] factor some codes related to PF
function reset to make the preparing done before .reset_prepare()
return.

BTW, [patch 5/7] enlarges the waiting time of reset for matching
the hardware's.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>