ovs_vport_se...call_portids(9)
π NAME π
okay so bestie, welcome to ovs_vport_se...call_portids(9) from the Kernel API Manual β this one is literally about setting the upcall portids of @vport. Yes, @vport is giving main character energy. π«Ά
β¨ SYNOPSIS β¨
int ovs_vport_set_upcall_portids (struct vport *vport , const struct
nlattr *ids );
π ARGUMENTS π
vportβ the vport you wanna modify, main character energy.idsβ the new configuration, an array of port ids. slay.
π¦ DESCRIPTION π¦
This function sets the vport's upcall_portids to ids. That's the whole vibe. β¨
It returns 0 if successful, and -EINVAL if ids is zero length or cannot be parsed as an array of U32. Not me being dramatic, that's just the rule π.
bestie, must be called with ovs_mutex β fr fr, do not skip this lock, okay? π
π SEE ALSO π
Kernel file ./net/openvswitch/vport.c β and the whole squad:
ovs_vport_init(9)ovs_vport_exit(9)ovs_vport_locate(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_get_upcall_portids(9)ovs_vport_find_upcall_portid(9)ovs_vport_receive(9)
this page came from ./net/openvswitch source/version, dated October 2026 β mwah, bye bestie πππ¦
π¦ 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