STRUCT VPORT_PARMS(9)
π struct vport_parms(9) β like, the Kernel API Manual page you actually wanna read π
okay bestie, gather round, because this is the manual page for struct vport_parms(9) and it is literally the little bundle of info the kernel needs before it can birth a whole new vport. it's giving "paperwork before the main event" energy and honestly? iconic. β¨
πΈ NAME πΈ
struct vport_parms β the parameters for creating a new vport. that's it, that's the vibe. no cap. π
β¨ SYNOPSIS β¨
here's the whole struct, exactly as it lives, do not touch, do not "improve", just admire:
struct vport_parms {
const char *name;
enum ovs_vport_type type;
int desired_ifindex;
struct datapath *dp;
u16 port_no;
struct nlattr *upcall_portids;
};
π¦ Members π¦
every field, one by one, because we do not skip β
nameβ the new vport's name. that's her government name, bestie. πtypeβ the new vport's type. what kind of vport she is. her whole genre. π₯desired_ifindexβ the new vport's ifindex. the index she's manifesting. β¨dpβ the new vport's datapath. her home base, her main character location. πport_noβ the new vport's port number. her digits, lowkey. πupcall_portidsβ theOVS_VPORT_ATTR_UPCALL_PIDattribute from the Netlink message, and it'sNULLif none was supplied. so if nobody handed one over, it's giving nothing and that'sNULL, periodt. π
ok quick vibe check: these are the parms for creating a vport, so every single one of these is load-bearing. don't be out here leaving fields out like it's a group project. π«Ά
π SEE ALSO π
go read these next, bestie, they're all in the kernel file ./net/openvswitch/vport.h and they are so worth your time:
struct vport_portids(9)struct vport(9)struct vport_ops(9)struct vport_upcall_stats_percpu(9)vport_priv(9)vport_from_priv(9)
and that's the whole page, no crumbs left. mwah. π
sign-off time bestie: this little masterpiece comes from ./net/openvswitch and it's dated October 2026, filed under struct vport_parms(9) β the way that she's documented, we stan. π§βπ
π¦ 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