ice_devlink..._sf_dev_port(9)
Hey bestie π welcome to the ice_devlink..._sf_dev_port(9) page from the Kernel API Manual. Itβs giving βone very specific devlink function, one very specific job,β and weβre gonna read it together, no skips.
π NAME
ice_devlink_destroy_sf_dev_port β destroy virtual port for a subfunction. Literally the name, the function, the whole point. Slay.
β¨ SYNOPSIS β¨
void ice_devlink_destroy_sf_dev_port (struct ice_sf_dev *sf_dev );
Bestie, it returns void and takes exactly one argument. Periodt.
π ARGUMENTS π
sf_devβ the subfunction device to create a devlink port for. Thatβs the argument, exactly as the page labels it; weβre not renaming anything, iykyk.
π¦ DESCRIPTION π¦
Okay so what does it actually do? It unregisters the virtual port associated with this subfunction. Thatβs the entire description, and itβs lowkey important: this is the function that handles that unregistering. No extra side quests in the text, no hidden vibes β just unregistering, bestie.
π SEE ALSO π
The kernel file is ./drivers/net/ethernet/intel/ice/devlink/port.c. And hereβs the whole friend group β every single one of these refs, in the same order, no cap:
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_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)
Okay thatβs the whole page, bestie π«Ά. Cute little sign-off: source/version is ./drivers/net/ethernet/intel/i..., date is October 2026, and the page is ice_devlink..._sf_dev_port(9). Byeee π
β¨
π¦ 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