archnet: Convert from tasklet to BH workqueue
authorAllen Pais <apais@linux.microsoft.com>
Wed, 3 Apr 2024 16:23:06 +0000 (16:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Apr 2024 02:44:09 +0000 (19:44 -0700)
commit775d2e2b302897931ab7417b1da747bba7831a0b
tree0a15de6ddbbb5ac7092b22e2e0b3dcebd54da09f
parent39f59c72ad3a1eaab9a60f0671bc94d2bc826d21
archnet: 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 drivers/net/archnet/* from tasklet to BH workqueue.

Based on the work done by Tejun Heo <tj@kernel.org>
Branch: https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git for-6.10

Signed-off-by: Allen Pais <allen.lkml@gmail.com>
Link: https://lore.kernel.org/r/20240403162306.20258-1-apais@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/arcnet/arcdevice.h
drivers/net/arcnet/arcnet.c