* [PATCH net-next] net: openvswitch: unexport ovs_vport_alloc/free
@ 2026-08-12 12:20 Ilya Maximets
2026-08-13 11:16 ` Aaron Conole
2026-08-14 3:24 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Ilya Maximets @ 2026-08-12 12:20 UTC (permalink / raw)
To: netdev
Cc: Aaron Conole, Eelco Chaudron, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Simon Horman, dev, linux-kernel,
Ilya Maximets
Since removal of the legacy tunnel port types, there are no more
users for these functions outside the main openvswitch module.
Functions to register vport_ops are also not exported. Allocating
vports without operations doesn't make a lot of sense.
Highlighted by Sashiko as a follow up to the removal of the module
infrastructure.
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
---
net/openvswitch/vport.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index 29ebeb164bdc..083f7a8d9d4e 100644
--- a/net/openvswitch/vport.c
+++ b/net/openvswitch/vport.c
@@ -157,7 +157,6 @@ struct vport *ovs_vport_alloc(int priv_size, const struct vport_ops *ops,
kfree(vport);
return ERR_PTR(err);
}
-EXPORT_SYMBOL_GPL(ovs_vport_alloc);
/**
* ovs_vport_free - uninitialize and free vport
@@ -178,7 +177,6 @@ void ovs_vport_free(struct vport *vport)
free_percpu(vport->upcall_stats);
kfree(vport);
}
-EXPORT_SYMBOL_GPL(ovs_vport_free);
static struct vport_ops *ovs_vport_lookup(const struct vport_parms *parms)
{
--
2.55.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH net-next] net: openvswitch: unexport ovs_vport_alloc/free
2026-08-12 12:20 [PATCH net-next] net: openvswitch: unexport ovs_vport_alloc/free Ilya Maximets
@ 2026-08-13 11:16 ` Aaron Conole
2026-08-14 3:24 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Aaron Conole @ 2026-08-13 11:16 UTC (permalink / raw)
To: Ilya Maximets
Cc: netdev, Eelco Chaudron, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Simon Horman, dev, linux-kernel
Ilya Maximets <i.maximets@ovn.org> writes:
> Since removal of the legacy tunnel port types, there are no more
> users for these functions outside the main openvswitch module.
> Functions to register vport_ops are also not exported. Allocating
> vports without operations doesn't make a lot of sense.
>
> Highlighted by Sashiko as a follow up to the removal of the module
> infrastructure.
>
> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
> ---
> net/openvswitch/vport.c | 2 --
> 1 file changed, 2 deletions(-)
>
Reviewed-by: Aaron Conole <aconole@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: openvswitch: unexport ovs_vport_alloc/free
2026-08-12 12:20 [PATCH net-next] net: openvswitch: unexport ovs_vport_alloc/free Ilya Maximets
2026-08-13 11:16 ` Aaron Conole
@ 2026-08-14 3:24 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-08-14 3:24 UTC (permalink / raw)
To: Ilya Maximets
Cc: netdev, aconole, echaudro, davem, edumazet, kuba, pabeni, horms,
dev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 12 Aug 2026 14:20:06 +0200 you wrote:
> Since removal of the legacy tunnel port types, there are no more
> users for these functions outside the main openvswitch module.
> Functions to register vport_ops are also not exported. Allocating
> vports without operations doesn't make a lot of sense.
>
> Highlighted by Sashiko as a follow up to the removal of the module
> infrastructure.
>
> [...]
Here is the summary with links:
- [net-next] net: openvswitch: unexport ovs_vport_alloc/free
https://git.kernel.org/netdev/net-next/c/9702af05a007
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:[~2026-08-14 3:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12 12:20 [PATCH net-next] net: openvswitch: unexport ovs_vport_alloc/free Ilya Maximets
2026-08-13 11:16 ` Aaron Conole
2026-08-14 3:24 ` 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