ice_devlink_destroy_pf_port(9)
π ice_devlink_destroy_pf_port β like, the kernel API manual page, bestie π
Okay so this is ice_devlink_destroy_pf_port(9), straight out of the Kernel API Manual, and it's genuinely iconic in a "quietly doing cleanup" kind of way β¨
β¨ NAME β¨
ice_devlink_destroy_pf_port β destroy the devlink_port for this PF. That's it, that's the whole job π«Ά
πΈ SYNOPSIS πΈ
void ice_devlink_destroy_pf_port (struct ice_pf *pf );
π¦ ARGUMENTS π¦
pfβ the PF to cleanup. That's your main character right there π
π DESCRIPTION π
So what this does is unregister the devlink_port structure that's associated with this PF. Bye bye, port registration, we hardly knew ye π
β οΈ Okay but for real, ngl β this function has to be called under devl_lock. Not optional, not a vibe suggestion, it's the rule. Respect the lock fr fr π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/ice/devlink/port.c β and literally all of these besties:
ice_devlink_port_opt_speed_str(9)ice_devlink_port_options_print(9)ice_devlink_aq_set_port_option(9)ice_devlink_port_split(9)ice_devlink_port_unsplit(9)ice_devlink_set_port_split_options(9)ice_devlink_set_switch_id(9)ice_devlink_create_pf_port(9)ice_devlink_port_get_vf_fn_mac(9)ice_devlink_port_set_vf_fn_mac(9)ice_devlink_create_vf_port(9)ice_devlink_destroy_vf_port(9)ice_devlink_create_sf_dev_port(9)ice_devlink_destroy_sf_dev_port(9)ice_activate_dynamic_port(9)ice_deactivate_dynamic_port(9)ice_dealloc_dynamic_port(9)ice_dealloc_all_dynamic_ports(9)ice_devlink_port_new_check_attr(9)ice_devlink_port_del(9)ice_devlink_port_fn_hw_addr_set(9)ice_devlink_port_fn_hw_addr_get(9)ice_devlink_port_fn_state_set(9)ice_devlink_port_fn_state_get(9)ice_reserve_sf_num(9)ice_devlink_create_sf_port(9)ice_devlink_destroy_sf_port(9)ice_alloc_dynamic_port(9)ice_devlink_port_new(9)
Alright bestie, that's the page! π Sourced from ./drivers/net/ethernet/intel/i..., dated October 2026, and this whole thing lives under ice_devlink_destroy_pf_port(9) β go forth and destroy those PF ports responsibly, mwah π§ββοΈβ¨
π¦ 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