lkml.org 
[lkml]   [2019]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/5] net: hns3: some optimizaions related to work task
Date
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

\
 
 \ /
  Last update: 2019-12-14 03:07    [W:0.054 / U:2.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site