summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJun Miao <jun.miao@intel.com>2025-06-18 20:39:23 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-20 01:40:02 +0300
commit2c04d279e857e6c441593c282f978cebc5583fd9 (patch)
treebc7a0914cc16eeee2d68390ea8a07067f5a90d7d /include/linux
parentdeb21a6e5b4a53fdf109e70f88aff534ff858931 (diff)
downloadlinux-2c04d279e857e6c441593c282f978cebc5583fd9.tar.xz
net: usb: Convert tasklet API to new bottom half workqueue mechanism
Migrate tasklet APIs to the new bottom half workqueue mechanism. It replaces all occurrences of tasklet usage with the appropriate workqueue APIs throughout the usbnet driver. This transition ensures compatibility with the latest design and enhances performance. Signed-off-by: Jun Miao <jun.miao@intel.com> Link: https://patch.msgid.link/20250618173923.950510-1-jun.miao@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/usbnet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h
index 0b9f1e598e3a..208682f77179 100644
--- a/include/linux/usb/usbnet.h
+++ b/include/linux/usb/usbnet.h
@@ -58,7 +58,7 @@ struct usbnet {
unsigned interrupt_count;
struct mutex interrupt_mutex;
struct usb_anchor deferred;
- struct tasklet_struct bh;
+ struct work_struct bh_work;
struct work_struct kevent;
unsigned long flags;