Messages in this thread | | | From | Huazhong Tan <> | Subject | [Patch net-next 00/12] provide new interfaces & bugfixes & code optimization | Date | Wed, 7 Nov 2018 12:06:06 +0800 |
| |
This patchset provides some reset interfaces for RAS & RoCE, also some bugfixes and optimization related to reset.
Huazhong Tan (12): net: hns3: use HNS3_NIC_STATE_INITED to indicate the initialization state of enet net: hns3: add set_default_reset_request in the hnae3_ae_ops net: hns3: provide some interface & information for the client net: hns3: adjust the location of clearing the table when doing reset net: hns3: enable/disable ring in the enet while doing UP/DOWN net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting net: hns3: ignore new coming low-level reset while doing high-level reset net: hns3: move some reset information from hnae3_handle into hclge_dev/hclgevf_dev net: hns3: adjust the process of PF reset net: hns3: call roce's reset notify callback when resetting net: hns3: add error handler for hclge_reset() net: hns3: fix for cmd queue memory not freed problem during reset
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 17 +- drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c | 12 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 91 +++++-- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 21 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 19 ++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 296 +++++++++++++++++---- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 7 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 141 +++++----- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 1 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 109 +++++--- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 8 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 2 +- 12 files changed, 544 insertions(+), 180 deletions(-)
-- 2.7.4
| |