devlink_port_fini(9)
π devlink_port_fini(9)
okay bestie, welcome to the Kernel API Manual β¨ β yes this is a kernel manpage, yes it's about devlink ports, and yes I'm gonna make it make sense. buckle up π
πΈ NAME
devlink_port_fini β the "we're SO done here" cleanup for a devlink port π§Ήβ¨
π¦ SYNOPSIS
void devlink_port_fini (struct devlink_port *devlink_port );
π ARGUMENTS
devlink_portβ literally just the devlink port π« that's it, that's the whole arg
β¨ DESCRIPTION
so this one deinitializes the essential stuff that's still in use by functions that might get called after the devlink port has been unregistered. think of it as tidying up your room but specifically the bits your friends are still gonna walk through later π«Ά
and here's the tea β β calling this function is optional. not needed at all if your driver doesn't use those kinds of functions. so like, no pressure, it's giving "only if it applies to you" energy π
π SEE ALSO
- Kernel file
./net/devlink/port.c devlink_port_init(9)devl_port_register_with_ops(9)devlink_port_register_with_ops(9)devl_port_unregister(9)devlink_port_unregister(9)devlink_port_type_eth_set(9)devlink_port_type_ib_set(9)devlink_port_type_clear(9)devlink_port_attrs_set(9)devlink_port_attrs_pci_pf_set(9)devlink_port_attrs_pci_vf_set(9)devlink_port_attrs_pci_sf_set(9)devl_port_fn_devlink_set(9)devlink_port_linecard_set(9)
and that's the whole page bestie π«Ά shoutout to the source at ./net/devlink, dated October 2026 β iconic of them honestly ππ go forth and fini your ports responsibly β¨π
π¦ 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