* [PATCH bpf-next] netkit: Disable netpoll support
@ 2024-08-23 12:00 Daniel Borkmann
2024-08-23 12:07 ` Nikolay Aleksandrov
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Daniel Borkmann @ 2024-08-23 12:00 UTC (permalink / raw)
To: kafai; +Cc: bpf, Daniel Borkmann, Breno Leitao, Nikolay Aleksandrov
Follow-up to 45160cebd6ac ("net: veth: Disable netpoll support") to
also disable netpoll for netkit interfaces. Same conditions apply
here as well.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Breno Leitao <leitao@debian.org>
Cc: Nikolay Aleksandrov <razor@blackwall.org>
---
drivers/net/netkit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/netkit.c b/drivers/net/netkit.c
index 16789cd446e9..0681cf86284d 100644
--- a/drivers/net/netkit.c
+++ b/drivers/net/netkit.c
@@ -255,6 +255,7 @@ static void netkit_setup(struct net_device *dev)
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
dev->priv_flags |= IFF_PHONY_HEADROOM;
dev->priv_flags |= IFF_NO_QUEUE;
+ dev->priv_flags |= IFF_DISABLE_NETPOLL;
dev->ethtool_ops = &netkit_ethtool_ops;
dev->netdev_ops = &netkit_netdev_ops;
--
2.21.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH bpf-next] netkit: Disable netpoll support
2024-08-23 12:00 [PATCH bpf-next] netkit: Disable netpoll support Daniel Borkmann
@ 2024-08-23 12:07 ` Nikolay Aleksandrov
2024-08-23 12:27 ` Breno Leitao
2024-08-27 19:00 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Nikolay Aleksandrov @ 2024-08-23 12:07 UTC (permalink / raw)
To: Daniel Borkmann, kafai; +Cc: bpf, Breno Leitao
On 23/08/2024 15:00, Daniel Borkmann wrote:
> Follow-up to 45160cebd6ac ("net: veth: Disable netpoll support") to
> also disable netpoll for netkit interfaces. Same conditions apply
> here as well.
>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Breno Leitao <leitao@debian.org>
> Cc: Nikolay Aleksandrov <razor@blackwall.org>
> ---
> drivers/net/netkit.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/netkit.c b/drivers/net/netkit.c
> index 16789cd446e9..0681cf86284d 100644
> --- a/drivers/net/netkit.c
> +++ b/drivers/net/netkit.c
> @@ -255,6 +255,7 @@ static void netkit_setup(struct net_device *dev)
> dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
> dev->priv_flags |= IFF_PHONY_HEADROOM;
> dev->priv_flags |= IFF_NO_QUEUE;
> + dev->priv_flags |= IFF_DISABLE_NETPOLL;
>
> dev->ethtool_ops = &netkit_ethtool_ops;
> dev->netdev_ops = &netkit_netdev_ops;
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH bpf-next] netkit: Disable netpoll support
2024-08-23 12:00 [PATCH bpf-next] netkit: Disable netpoll support Daniel Borkmann
2024-08-23 12:07 ` Nikolay Aleksandrov
@ 2024-08-23 12:27 ` Breno Leitao
2024-08-27 19:00 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Breno Leitao @ 2024-08-23 12:27 UTC (permalink / raw)
To: Daniel Borkmann; +Cc: kafai, bpf, Nikolay Aleksandrov
On Fri, Aug 23, 2024 at 02:00:53PM +0200, Daniel Borkmann wrote:
> Follow-up to 45160cebd6ac ("net: veth: Disable netpoll support") to
> also disable netpoll for netkit interfaces. Same conditions apply
> here as well.
>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Breno Leitao <leitao@debian.org>
> Cc: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Breno Leitao <leitao@debian.org>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH bpf-next] netkit: Disable netpoll support
2024-08-23 12:00 [PATCH bpf-next] netkit: Disable netpoll support Daniel Borkmann
2024-08-23 12:07 ` Nikolay Aleksandrov
2024-08-23 12:27 ` Breno Leitao
@ 2024-08-27 19:00 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-08-27 19:00 UTC (permalink / raw)
To: Daniel Borkmann; +Cc: kafai, bpf, leitao, razor
Hello:
This patch was applied to bpf/bpf-next.git (net)
by Martin KaFai Lau <martin.lau@kernel.org>:
On Fri, 23 Aug 2024 14:00:53 +0200 you wrote:
> Follow-up to 45160cebd6ac ("net: veth: Disable netpoll support") to
> also disable netpoll for netkit interfaces. Same conditions apply
> here as well.
>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Breno Leitao <leitao@debian.org>
> Cc: Nikolay Aleksandrov <razor@blackwall.org>
>
> [...]
Here is the summary with links:
- [bpf-next] netkit: Disable netpoll support
https://git.kernel.org/bpf/bpf-next/c/d96608794889
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] 4+ messages in thread
end of thread, other threads:[~2024-08-27 19:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 12:00 [PATCH bpf-next] netkit: Disable netpoll support Daniel Borkmann
2024-08-23 12:07 ` Nikolay Aleksandrov
2024-08-23 12:27 ` Breno Leitao
2024-08-27 19:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox