summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2019-12-14 05:06:41 +0300
committerDavid S. Miller <davem@davemloft.net>2019-12-17 03:12:25 +0300
commitd5432455b1a869d92d5643de0b4875bbcfbcefed (patch)
treeb7d0adde654470e18d5d6f1bab523d9ffa78bfa5 /tools/perf/scripts/python/export-to-sqlite.py
parent0ea68902256e6cc705c94d1844dd8cf0805fd3e9 (diff)
downloadlinux-d5432455b1a869d92d5643de0b4875bbcfbcefed.tar.xz
net: hns3: do not schedule the periodic task when reset fail
service_task will be scheduled per second to do some periodic jobs. When reset fails, it means this device is not available now, so the periodic jobs do not need to be handled. This patch adds flag HCLGE_STATE_RST_FAIL/HCLGEVF_STATE_RST_FAIL to indicate that reset fails, and checks this flag before schedule periodic task. Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@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