STRUCT VPORT_PARMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the OVS_VPORT_ATTR_UPCALL_PID attribute from the Netlink message, and it's NULL if none was supplied. so if nobody handed one over, it's giving nothing and that's NULL, 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:


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