[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1576289201-57017-1-git-send-email-tanhuazhong@huawei.com>
Date: Sat, 14 Dec 2019 10:06:36 +0800
From: Huazhong Tan <tanhuazhong@...wei.com>
To: <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<salil.mehta@...wei.com>, <yisen.zhuang@...wei.com>,
<linuxarm@...wei.com>, <jakub.kicinski@...ronome.com>,
Huazhong Tan <tanhuazhong@...wei.com>
Subject: [PATCH net-next 0/5] net: hns3: some optimizaions related to work task
This series refactors the work task of the HNS3 ethernet driver.
[patch 1/5] uses delayed workqueue to replace the timer for
hclgevf_service task, make the code simpler.
[patch 2/5] & [patch 3/5] unifies current mailbox, reset and
service work into one.
[patch 4/5] allocates a private work queue with WQ_MEM_RECLAIM
for the HNS3 driver.
[patch 5/5] adds a new flag to indicate whether reset fails,
and prevent scheduling service task to handle periodic task
when this flag has been set.
Guojia Liao (1):
net: hns3: do not schedule the periodic task when reset fail
Yunsheng Lin (4):
net: hns3: schedule hclgevf_service by using delayed workqueue
net: hns3: remove mailbox and reset work in hclge_main
net: hns3: remove unnecessary work in hclgevf_main
net: hns3: allocate WQ with WQ_MEM_RECLAIM flag
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 10 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 179 ++++++++++++------
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 18 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 1 -
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 209 ++++++++++-----------
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 13 +-
6 files changed, 242 insertions(+), 188 deletions(-)
--
2.7.4
Powered by blists - more mailing lists