All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: export dev_set_threaded symbol
@ 2021-03-14 14:49 Lorenzo Bianconi
  2021-03-15 19:37 ` Jakub Kicinski
  2021-03-15 19:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Lorenzo Bianconi @ 2021-03-14 14:49 UTC (permalink / raw)
  To: netdev
  Cc: davem, kuba, weiwan, nbd, pabeni, edumazet, hannes, lorenzo.bianconi

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(+)

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)
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: export dev_set_threaded symbol
  2021-03-14 14:49 [PATCH net-next] net: export dev_set_threaded symbol Lorenzo Bianconi
@ 2021-03-15 19:37 ` Jakub Kicinski
  2021-03-15 19:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2021-03-15 19:37 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: netdev, davem, weiwan, nbd, pabeni, edumazet, hannes, lorenzo.bianconi

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: export dev_set_threaded symbol
  2021-03-14 14:49 [PATCH net-next] net: export dev_set_threaded symbol Lorenzo Bianconi
  2021-03-15 19:37 ` Jakub Kicinski
@ 2021-03-15 19:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-03-15 19:40 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: netdev, davem, kuba, weiwan, nbd, pabeni, edumazet, hannes,
	lorenzo.bianconi

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-15 19:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-14 14:49 [PATCH net-next] net: export dev_set_threaded symbol Lorenzo Bianconi
2021-03-15 19:37 ` Jakub Kicinski
2021-03-15 19:40 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.