diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2018-06-01 17:52:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-01 14:23:56 -0400 |
commit | f5be79673fc4c925708c99ec37d77e0a2c3cd30b (patch) | |
tree | 45862d6da080ceb20b0c07a77b20625537a6aac3 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | c7fc8fb6193428e107a4d51333c158bdc226b26c (diff) |
net: hns3: Fix for service_task not running problem after resetting
When hclge_ae_stop is called during resetting, it will cancel the
service_task by calling cancel_work_sync, which may cause the
service_task to exit without clearing HCLGE_STATE_SERVICE_SCHED
bit. If this happens, the service_task will never run again.
This patch fixes this problem by clearing it after calling
cancel_work_sync in hclge_ae_stop.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions