]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add scheduling logic for error handling task
authorJiaran Zhang <zhangjiaran@huawei.com>
Mon, 7 Jun 2021 11:18:11 +0000 (19:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 21:00:37 +0000 (14:00 -0700)
commit90c6c4c1105d2c2d91013fd27ebaa711af0d26df
tree546bc9ac205d125825f30471bb455c2709f57009
parent37988216de8e8df46e72fb4a76f437f7c49d7b79
net: hns3: add scheduling logic for error handling task

Error handling & recovery is done in context of reset task which
gets scheduled from misc interrupt handler in existing code. But
since error handling has been moved to new task, it should get
scheduled instead of the reset task from the interrupt handler.

Signed-off-by: Jiaran Zhang <zhangjiaran@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c