linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: hns3: some optimizaions related to work task
@ 2019-12-14  2:06 Huazhong Tan
  2019-12-14  2:06 ` [PATCH net-next 1/5] net: hns3: schedule hclgevf_service by using delayed workqueue Huazhong Tan
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Huazhong Tan @ 2019-12-14  2:06 UTC (permalink / raw)
  To: davem
  Cc: netdev, linux-kernel, salil.mehta, yisen.zhuang, linuxarm,
	jakub.kicinski, Huazhong Tan

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-12-17  0:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14  2:06 [PATCH net-next 0/5] net: hns3: some optimizaions related to work task Huazhong Tan
2019-12-14  2:06 ` [PATCH net-next 1/5] net: hns3: schedule hclgevf_service by using delayed workqueue Huazhong Tan
2019-12-14  2:06 ` [PATCH net-next 2/5] net: hns3: remove mailbox and reset work in hclge_main Huazhong Tan
2019-12-14  2:06 ` [PATCH net-next 3/5] net: hns3: remove unnecessary work in hclgevf_main Huazhong Tan
2019-12-14  2:06 ` [PATCH net-next 4/5] net: hns3: allocate WQ with WQ_MEM_RECLAIM flag Huazhong Tan
2019-12-14  2:06 ` [PATCH net-next 5/5] net: hns3: do not schedule the periodic task when reset fail Huazhong Tan
2019-12-17  0:12 ` [PATCH net-next 0/5] net: hns3: some optimizaions related to work task David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).