OSDN Git Service

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)
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>

Trivial merge