linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3vf
Huazhong Tan 720bd5837e net: hns3: add set_default_reset_request in the hnae3_ae_ops
Currently, when reset_event is called because of tx timeout, it will
upgrade the reset level (For PF, HNAE3_FUNC_RESET -> HNAE3_CORE_RESET
-> HNAE3_GLOBAL_RESET) if the time between the new reset and last reset
is within 20 secs, or restore the reset level to HNAE3_FUNC_RESET if
the time between the new reset and last reset is over 20 secs.

There is requirement that the caller needs to decide the reset level
when triggering a reset, for example, RAS recovery. So this patch
adds the set_default_reset_request to meet this requirement.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-07 11:42:17 -08:00
..
hclgevf_cmd.c net: hns3: Add handle for default case 2018-09-21 19:29:32 -07:00
hclgevf_cmd.h net: hns3: Add RSS tuples support for VF 2018-10-10 22:59:08 -07:00
hclgevf_main.c net: hns3: add set_default_reset_request in the hnae3_ae_ops 2018-11-07 11:42:17 -08:00
hclgevf_main.h net: hns3: add set_default_reset_request in the hnae3_ae_ops 2018-11-07 11:42:17 -08:00
hclgevf_mbx.c net: hns3: Fix for mailbox message truncated problem 2018-07-07 11:13:06 +09:00
Makefile net: hns3: Add HNS3 VF driver to kernel build framework 2017-12-15 10:55:34 -05:00