linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Yunsheng Lin 82b5321460 net: hns3: Fix for reset_level default assignment probelm
handle->reset_level is assigned to HNAE3_NONE_RESET when client is
initialized, if a tx timeout happens right after initialization,
then handle->reset_level is not resetted to HNAE3_FUNC_RESET in
hclge_reset_event, which will cause reset event not properly
handled problem.

This patch fixes it by setting handle->reset_level properly when
client is initialized.

Fixes: 6d4c3981a8 ("net: hns3: Changes to make enet watchdog timeout func common for PF/VF")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-16 11:16:44 -07:00
..
hns3pf net: hns3: Correct reset event status register 2018-07-16 11:16:44 -07:00
hns3vf net: hns3: Fix get_vector ops in hclgevf_main module 2018-07-07 11:13:07 +09:00
hclge_mbx.h net: hns3: Optimize the VF's process of updating multicast MAC 2018-06-01 14:23:58 -04:00
hnae3.c net: hns3: modify hnae_ to hnae3_ 2018-07-02 22:49:14 +09:00
hnae3.h net: hns3: modify hnae_ to hnae3_ 2018-07-02 22:49:14 +09:00
hns3_dcbnl.c net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00
hns3_enet.c net: hns3: Fix for reset_level default assignment probelm 2018-07-16 11:16:44 -07:00
hns3_enet.h net: hns3: modify hnae_ to hnae3_ 2018-07-02 22:49:14 +09:00
hns3_ethtool.c net: hns3: Fix warning bug when doing lp selftest 2018-07-07 11:13:07 +09:00
Makefile net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00