diff mbox series

[net-next] net: export dev_set_threaded symbol

Message ID 9ee5ba9ca7506620b1a9695896992bfdfb000469.1615733129.git.lorenzo@kernel.org (mailing list archive)
State Accepted
Commit 8f64860f8b567cc4f8ac854a65cbf6337404c520
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: export dev_set_threaded symbol | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net-next
netdev/subject_prefix success Link
netdev/cc_maintainers warning 5 maintainers not CCed: daniel@iogearbox.net andriin@fb.com cong.wang@bytedance.com ast@kernel.org ap420073@gmail.com
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 10 this patch: 10
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 10 this patch: 10
netdev/header_inline success Link

Commit Message

lorenzo@kernel.org March 14, 2021, 2:49 p.m. UTC
For wireless devices (e.g. mt76 driver) multiple net_devices belongs to
the same wireless phy and the napi object is registered in a dummy
netdevice related to the wireless phy.
Export dev_set_threaded in order to be reused in device drivers enabling
threaded NAPI.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 net/core/dev.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jakub Kicinski March 15, 2021, 7:37 p.m. UTC | #1
On Sun, 14 Mar 2021 15:49:19 +0100 Lorenzo Bianconi wrote:
> For wireless devices (e.g. mt76 driver) multiple net_devices belongs to
> the same wireless phy and the napi object is registered in a dummy
> netdevice related to the wireless phy.
> Export dev_set_threaded in order to be reused in device drivers enabling
> threaded NAPI.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

Acked-by: Jakub Kicinski <kuba@kernel.org>
patchwork-bot+netdevbpf@kernel.org March 15, 2021, 7:40 p.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Sun, 14 Mar 2021 15:49:19 +0100 you wrote:
> For wireless devices (e.g. mt76 driver) multiple net_devices belongs to
> the same wireless phy and the napi object is registered in a dummy
> netdevice related to the wireless phy.
> Export dev_set_threaded in order to be reused in device drivers enabling
> threaded NAPI.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> 
> [...]

Here is the summary with links:
  - [net-next] net: export dev_set_threaded symbol
    https://git.kernel.org/netdev/net-next/c/8f64860f8b56

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/net/core/dev.c b/net/core/dev.c
index 2bfdd528c7c3..18f82ca47655 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -6770,6 +6770,7 @@  int dev_set_threaded(struct net_device *dev, bool threaded)
 
 	return err;
 }
+EXPORT_SYMBOL(dev_set_threaded);
 
 void netif_napi_add(struct net_device *dev, struct napi_struct *napi,
 		    int (*poll)(struct napi_struct *, int), int weight)