net: hns3: add support for reset
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 1 replyIn review
- v19 patches 1 replySuperseded
Changes in v2 from the cover letter
1, fix some comments from Yunsheng Lin.
---
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: hns3: Refactor the mapping of tqp to vportdrivers/ | +50 | 0 replies | |
| 2/9 | net: hns3: Refactor mac_init functiondrivers/ | +7 | 0 replies | |
| 3/9 | net: hns3: Refactor the initialization of command queuedrivers/ drivers/ drivers/ | +33 | 0 replies | |
| 4/9 | net: hns3: Add support for misc interruptdrivers/ drivers/ drivers/ | +81 | 0 replies | |
| 5/9 | net: hns3: Add reset process in hclge_maindrivers/ drivers/ drivers/ +1 more | +326 | 0 replies | |
| 6/9 | net: hns3: Add timeout process in hns3_enetdrivers/ drivers/ | +88 | 0 replies | |
| 7/9 | net: hns3: Add reset interface implementation in clientdrivers/ | +153 | 0 replies | |
| 8/9 | net: hns3: Fix a misuse to devm_free_irqdrivers/ | +2 | 0 replies | |
| 9/9 | net: hns3: hns3:fix a bug about statistic counter in reset processdrivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 net-next 0/9] 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.
---
Lipeng (6):
net: hns3: Refactor the mapping of tqp to vport
net: hns3: Refactor the initialization of command queue
net: hns3: Add support for misc interrupt
net: hns3: Add reset process in hclge_main
net: hns3: Add timeout process in hns3_enet
net: hns3: Add reset interface implementation in client
qumingguang (3):
net: hns3: Refactor mac_init function
net: hns3: Fix a misuse to devm_free_irq
net: hns3: hns3:fix a bug about statistic counter in reset process
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 19 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 39 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 13 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 450 ++++++++++++++++++++- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 17 + .../net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c | 244 ++++++++++- .../net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.h | 2 + 7 files changed, 747 insertions(+), 37 deletions(-)
Signature · 1 line
1.9.1