ovs_vport_locate(9)
π ovs_vport_locate β kernel API manual, but make it cute
okay so bestie, welcome to ovs_vport_locate(9) from the Kernel API Manual β yes we're in kernel-land today, don't be scared, I got you π«Ά
β¨ NAME β¨
ovs_vport_locate β literally just finds a port that has already been created. Like, it's not making a new one, it's not deleting anything, it's giving detective energy π. It locates. Periodt.
πΈ SYNOPSIS πΈ
struct vport * ovs_vport_locate (const struct net *net , const char
*name );
that's it. that's the whole thing. two arguments. she's lowkey minimal π
π ARGUMENTS π
netβ the network namespace, iykyk. this is the world we're searching in πnameβ the name of the port you're trying to find. the main character we're looking for π
π¦ DESCRIPTION π¦
okay so this is the important part, don't skip it π
Must be called with ovs or RCU read lock.
that's not a vibe suggestion, that's the rule, fr fr. hold the lock or don't call her at all π
β SEE ALSO β
the kernel file is ./net/openvswitch/vport.c and honestly the whole friend group shows up here:
ovs_vport_init(9)ovs_vport_exit(9)ovs_vport_alloc(9)ovs_vport_free(9)ovs_vport_add(9)ovs_vport_del(9)ovs_vport_get_stats(9)ovs_vport_get_upcall_stats(9)ovs_vport_set_upcall_portids(9)ovs_vport_get_upcall_portids(9)ovs_vport_find_upcall_portid(9)ovs_vport_receive(9)
all twelve of them, no cap, I listed every single one π
and that's the page!! π this cutie lives in the ./net/openvswitch directory, the source/version vibes are Kernel API Manual and she was dated October 2026, soβ¦ see you in the future bestie β¨π bye!! π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms