Skip to content

ethernet: Convert from tasklet to BH workqueue

Allen Pais linux-arm-kernel linux-mediatek linux-rdma linuxppc-dev lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15net: alteon: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/alteon/acenic.c drivers/net/ethernet/alteon/acenic.h+17 -170 replies
2/15net: xgbe: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/amd/xgbe/xgbe-drv.c drivers/net/ethernet/amd/xgbe/xgbe-i2c.c drivers/net/ethernet/amd/xgbe/xgbe-mdio.c +2 more+38 -380 replies
3/15net: cnic: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/broadcom/cnic.c drivers/net/ethernet/broadcom/cnic.h+11 -100 replies
4/15net: macb: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/cadence/macb.h drivers/net/ethernet/cadence/macb_main.c+7 -60 replies
5/15net: cavium/liquidio: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/cavium/liquidio/lio_core.c drivers/net/ethernet/cavium/liquidio/lio_main.c drivers/net/ethernet/cavium/liquidio/lio_vf_main.c +2 more+23 -231 reply
6/15net: octeon: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/cavium/octeon/octeon_mgmt.c+7 -60 replies
7/15net: thunderx: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/cavium/thunder/nic.h drivers/net/ethernet/cavium/thunder/nicvf_main.c drivers/net/ethernet/cavium/thunder/nicvf_queues.c +1 more+18 -171 reply
8/15net: chelsio: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/chelsio/cxgb/sge.c drivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +4 more+42 -400 replies
9/15net: sundance: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/dlink/sundance.c+21 -200 replies
10/15net: hinic: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h+10 -111 reply
11/15net: ehea: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/ibm/ehea/ehea.h drivers/net/ethernet/ibm/ehea/ehea_main.c+9 -80 replies
12/15net: ibmvnic: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/ibm/ibmvnic.c drivers/net/ethernet/ibm/ibmvnic.h+13 -130 replies
13/15net: jme: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/jme.c drivers/net/ethernet/jme.h+40 -406 replies
14/15net: marvell: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/marvell/mvpp2/mvpp2_main.c drivers/net/ethernet/marvell/skge.c drivers/net/ethernet/marvell/skge.h+9 -100 replies
15/15net: mtk-wed: Convert tasklet API to new bottom half workqueue mechanismdrivers/net/ethernet/mediatek/mtk_wed_wo.c drivers/net/ethernet/mediatek/mtk_wed_wo.h+8 -70 replies

Reviews trailers per patch

2 of 15 patches have a Reviewed-by or Acked-by.

PatchSunil Goutham
1/15
2/15
3/15
4/15
5/15R-b
6/15
7/15R-b
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] ethernet: Convert from tasklet to BH workqueue

The only generic interface to execute asynchronously in the BH context is tasklet; however, it's marked deprecated and has some design flaws. To replace tasklets, BH workqueue support was recently added. A BH workqueue behaves similarly to regular workqueues except that the queued work items are executed in the BH context.

This patch converts a few drivers in drivers/ethernet/* from tasklet to BH workqueue. The next set will be sent out after the next -rc is out.

This series is based on
commit a6ec08beec9e ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net")

First version converting all the drivers can be found at:
https://lore.kernel.org/all/20240507190111.16710
[email protected]/

Allen Pais (15):
net: alteon: Convert tasklet API to new bottom half workqueue
mechanism
net: xgbe: Convert tasklet API to new bottom half workqueue mechanism
net: cnic: Convert tasklet API to new bottom half workqueue mechanism
net: macb: Convert tasklet API to new bottom half workqueue mechanism
net: cavium/liquidio: Convert tasklet API to new bottom half workqueue
mechanism
net: octeon: Convert tasklet API to new bottom half workqueue
mechanism
net: thunderx: Convert tasklet API to new bottom half workqueue
mechanism
net: chelsio: Convert tasklet API to new bottom half workqueue
mechanism
net: sundance: Convert tasklet API to new bottom half workqueue
mechanism
net: hinic: Convert tasklet API to new bottom half workqueue mechanism
net: ehea: Convert tasklet API to new bottom half workqueue mechanism
net: ibmvnic: Convert tasklet API to new bottom half workqueue
mechanism
net: jme: Convert tasklet API to new bottom half workqueue mechanism
net: marvell: Convert tasklet API to new bottom half workqueue
mechanism
net: mtk-wed: Convert tasklet API to new bottom half workqueue
mechanism

 drivers/net/ethernet/alteon/acenic.c          | 26 +++----
 drivers/net/ethernet/alteon/acenic.h          |  8 +--
 drivers/net/ethernet/amd/xgbe/xgbe-drv.c      | 30 ++++----
 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c      | 16 ++---
 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c     | 16 ++---
 drivers/net/ethernet/amd/xgbe/xgbe-pci.c      |  4 +-
 drivers/net/ethernet/amd/xgbe/xgbe.h          | 10 +--
 drivers/net/ethernet/broadcom/cnic.c          | 19 ++---
 drivers/net/ethernet/broadcom/cnic.h          |  2 +-
 drivers/net/ethernet/cadence/macb.h           |  3 +-
 drivers/net/ethernet/cadence/macb_main.c      | 10 +--
 .../net/ethernet/cavium/liquidio/lio_core.c   |  4 +-
 .../net/ethernet/cavium/liquidio/lio_main.c   | 24 +++----
 .../ethernet/cavium/liquidio/lio_vf_main.c    | 10 +--
 .../ethernet/cavium/liquidio/octeon_droq.c    |  4 +-
 .../ethernet/cavium/liquidio/octeon_main.h    |  4 +-
 .../net/ethernet/cavium/octeon/octeon_mgmt.c  | 13 ++--
 drivers/net/ethernet/cavium/thunder/nic.h     |  5 +-
 .../net/ethernet/cavium/thunder/nicvf_main.c  | 24 +++----
 .../ethernet/cavium/thunder/nicvf_queues.c    |  4 +-
 .../ethernet/cavium/thunder/nicvf_queues.h    |  2 +-
 drivers/net/ethernet/chelsio/cxgb/sge.c       | 19 ++---
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h    |  9 +--
 .../net/ethernet/chelsio/cxgb4/cxgb4_main.c   |  2 +-
 .../ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c  |  4 +-
 .../net/ethernet/chelsio/cxgb4/cxgb4_uld.c    |  2 +-
 drivers/net/ethernet/chelsio/cxgb4/sge.c      | 40 +++++------
 drivers/net/ethernet/chelsio/cxgb4vf/sge.c    |  6 +-
 drivers/net/ethernet/dlink/sundance.c         | 41 +++++------
 .../net/ethernet/huawei/hinic/hinic_hw_cmdq.c |  2 +-
 .../net/ethernet/huawei/hinic/hinic_hw_eqs.c  | 17 +++--
 .../net/ethernet/huawei/hinic/hinic_hw_eqs.h  |  2 +-
 drivers/net/ethernet/ibm/ehea/ehea.h          |  3 +-
 drivers/net/ethernet/ibm/ehea/ehea_main.c     | 14 ++--
 drivers/net/ethernet/ibm/ibmvnic.c            | 24 +++----
 drivers/net/ethernet/ibm/ibmvnic.h            |  2 +-
 drivers/net/ethernet/jme.c                    | 72 +++++++++----------
 drivers/net/ethernet/jme.h                    |  8 +--
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   |  4 +-
 drivers/net/ethernet/marvell/skge.c           | 12 ++--
 drivers/net/ethernet/marvell/skge.h           |  3 +-
 drivers/net/ethernet/mediatek/mtk_wed_wo.c    | 12 ++--
 drivers/net/ethernet/mediatek/mtk_wed_wo.h    |  3 +-
 43 files changed, 273 insertions(+), 266 deletions(-)
Signature · 1 line
2.34.1