diff options
| author | Yunsheng Lin <linyunsheng@huawei.com> | 2018-07-16 18:36:25 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-16 21:16:44 +0300 |
| commit | 82b5321460005ac5d34996e17f5a51a4004a1e14 (patch) | |
| tree | 18cf96efbad902443b1e44a9c3698ec0cf5e2f51 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d62eccaed41db5d231c597e1b019b13d7c760d6e (diff) | |
| download | linux-82b5321460005ac5d34996e17f5a51a4004a1e14.tar.xz | |
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: 6d4c3981a8d8 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
