aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2019-12-14 10:06:41 +0800
committerDavid S. Miller <davem@davemloft.net>2019-12-16 16:12:25 -0800
commitd5432455b1a869d92d5643de0b4875bbcfbcefed (patch)
treeb7d0adde654470e18d5d6f1bab523d9ffa78bfa5 /net/ipv4
parentnet: hns3: allocate WQ with WQ_MEM_RECLAIM flag (diff)
downloadlinux-dev-d5432455b1a869d92d5643de0b4875bbcfbcefed.tar.xz
linux-dev-d5432455b1a869d92d5643de0b4875bbcfbcefed.zip
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 '')
0 files changed, 0 insertions, 0 deletions