diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-12-14 10:06:38 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-16 16:12:25 -0800 |
commit | 1c6dfe6fc6f77f3d124e63c2c2c3f9bb73f8d92c (patch) | |
tree | c3c9940ba464c6408fea6a248754abe1a1d845c3 /net/lapb/lapb_in.c | |
parent | b3c3fe8e9961c3c76f8c6c6d5e50336cb6b16b48 (diff) |
net: hns3: remove mailbox and reset work in hclge_main
There are three work (mbx_service_task, service_task,
rst_service_task) in the HNS3 driver, mbx_service_task is for
handling mailbox work, service_task is for periodic management
issue and rst_service_task is for reset related issue, which can
be handled in a single work.
This patch removes the mbx_service_task and rst_service_task
work, and moves the related handling to the service_task work
in order to remove concurrency between the three work and to
improve efficiency.
BTW, since stats_timer in struct hclge_hw_stats is not needed
anymore, so removes the definition of struct hclge_hw_stats,
and moves mac_stats into struct hclge_dev.
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions