net: hns3: change flr_prepare/flr_done function names
authorJiaran Zhang <zhangjiaran@huawei.com>
Thu, 8 Apr 2021 03:40:04 +0000 (11:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2021 20:23:01 +0000 (13:23 -0700)
commitbb1890d5f97425766a865d75f99fd556d5dc6893
tree8b728839945b8a5da8fb2df8b755bee941be435e
parentc69b67185ccd3a7d2ad9c25497fc3c4f5ef751dc
net: hns3: change flr_prepare/flr_done function names

The flr_prepare/flr_done functions are not only used in the FLR scenario,
but also used in the suspend/resume.

Change the function names to prepare_for_reset/rebuild_for_reset, change
the flr_prepare/flr_done to reset_prepare/reset_done in hnae3_ae_ops.

Signed-off-by: Jiaran Zhang <zhangjiaran@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c