linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Shiju Jose 123297b78b net: hns3: delay setting of reset level for hw errors until slot_reset is called
Presently the error handling code sets the reset level required
for the recovery of the hw errors to the reset framework in the
error_detected AER callback. However the rest_event would be
called later from the slot_reset callback. This can cause issue
of using the wrong reset_level if a high priority reset request
occur before the slot_reset is called.

This patch delays setting of the reset level, required
for the hw errors, to the reset framework until the
slot_reset is called.

Reported-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-14 19:26:15 -07:00
..
hns3pf net: hns3: delay setting of reset level for hw errors until slot_reset is called 2019-06-14 19:26:15 -07:00
hns3vf net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hclge_mbx.h net: hns3: fix wrong size of mailbox responding data 2019-06-09 13:20:58 -07:00
hnae3.c net: hns3: delete the redundant user NIC codes 2019-06-09 13:20:59 -07:00
hnae3.h net: hns3: delay setting of reset level for hw errors until slot_reset is called 2019-06-14 19:26:15 -07:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c net: hns3: add support for dump firmware statistics by debugfs 2019-05-28 17:39:01 -07:00
hns3_enet.c net: hns3: delay setting of reset level for hw errors until slot_reset is called 2019-06-14 19:26:15 -07:00
hns3_enet.h net: hns3: fix VLAN filter restore issue after reset 2019-06-03 15:32:50 -07:00
hns3_ethtool.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00