net: hns3: make hclge_service use delayed workqueue
authorYunsheng Lin <linyunsheng@huawei.com>
Mon, 29 Jul 2019 02:53:28 +0000 (10:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 15:23:40 +0000 (08:23 -0700)
commit7be1b9f3e99f6213d053d16ed2438126931d8351
tree5a2e825c5331482c2c5d7afadfca631942909258
parent1c822948fa600d2d2e7926640279b16d1f4a7423
net: hns3: make hclge_service use delayed workqueue

Use delayed work instead of using timers to trigger the
hclge_serive.

Simplify the code with one less middle function and in order
to support misc irq affinity.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h