ice_dealloc_dynamic_port(9)
π ice_dealloc_dynamic_port(9) β the Kernel API Manual, bestie edition π
okay so picture this: you're in the Kernel API Manual, and today's main character is ice_dealloc_dynamic_port(9). yep, that's the whole vibe of this page. let's get into it β¨
πΈ NAME πΈ
ice_dealloc_dynamic_port β the one that deallocates and removes a dynamic port. both. at once. iconic behavior honestly π
π¦ SYNOPSIS π¦
void ice_dealloc_dynamic_port (struct ice_dynamic_port *dyn_port );
like, that's it. that's the whole signature. no return value, no drama, just vibes and a pointer π
π ARGUMENTS π
dyn_portβ the dynamic port instance you're about to deallocate. that's the one, bestie. hand it over π«Ά
β¨ DESCRIPTION β¨
so what does it actually do? it frees the resources associated with a dynamically added devlink port. that's the whole job. it's giving cleanup era π§Ήβ¨
and lowkey important: it will deactivate the port if it's currently active. so like, if your port is out here living its best active life, this function shuts that down first before freeing anything. no cap, it handles that for you π
ngl, this is the "turn off the lights before you leave" of kernel functions. very responsible. very mindful. very demure π
π SEE ALSO π
okay this is the part where the friend group shows up. the whole squad, fr fr. here's everybody:
- the kernel file itself:
./drivers/net/ethernet/intel/ice/devlink/port.cπ 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_destroy_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_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)
like, that's a lot of cousins. family reunion energy fr π«Άβ¨
so yeah, that's the whole page. source path got truncated to ./drivers/net/ethernet/intel/i..., dated October 2026, and the manual is ice_dealloc_dynamic_port(9) β that's a wrap, bestie, go free some ports ππ
π¦ 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