OSDN Git Service

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)
commit2d2faaf0568b4946d9abeb4e541227b4ca259840
treea355ee74148a6ebaa97fc3a4a882ff76a91edb5e
parent9691cea91c9d35f09d6b31a5e8dbfc631d40903a
parentc6dc52130536d6d3d750bf1097b3bc897f7ef054
Merge branch 'hns3-add-support-for-reset'

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>