Merge branch 'hns3-add-support-for-reset'
authorDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 12:28:36 +0000 (21:28 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 12:28:36 +0000 (21:28 +0900)
Lipeng says:

====================
net: hns3: add support for reset

There are 4 reset types for HNS3 PF driver, include global reset,
core reset, IMP reset, PF reset.The core reset will reset all datapath
of all functions except IMP, MAC and PCI interface. Global reset is equal
with the core reset plus all MAC reset. IMP reset is caused by watchdog
timer expiration, the same range with core reset. PF reset will reset
whole physical function.

This patchset adds reset support for hns3 driver and fix some related bugs.

---
Change log:
V1 -> V2:
1, fix some comments from Yunsheng Lin.
====================

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

Trivial merge