diff options
author | Stanislav Fomichev <sdf@fomichev.me> | 2025-07-17 10:23:32 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-18 17:27:47 -0700 |
commit | 5d4d84618e1aa2c9531afa3a6323f56e1db4dcf7 (patch) | |
tree | 05718cc6cb99583cc2ab8c9822d142537dd952dc /include/linux | |
parent | 93893a57efd431b9b4e72359bc8a8428681ca688 (diff) |
net: s/dev_set_threaded/netif_set_threaded/
Commit cc34acd577f1 ("docs: net: document new locking reality")
introduced netif_ vs dev_ function semantics: the former expects locked
netdev, the latter takes care of the locking. We don't strictly
follow this semantics on either side, but there are more dev_xxx handlers
now that don't fit. Rename them to netif_xxx where appropriate.
Note that one dev_set_threaded call still remains in mt76 for debugfs file.
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250717172333.1288349-7-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 8370cd0f8f6b..7929ddfd4433 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -589,6 +589,7 @@ static inline bool napi_complete(struct napi_struct *n) return napi_complete_done(n, 0); } +int netif_set_threaded(struct net_device *dev, bool threaded); int dev_set_threaded(struct net_device *dev, bool threaded); void napi_disable(struct napi_struct *n); |