ice_devlink_..._sf_dev_port(9)
ice_devlink_create_sf_dev_port π
okay so this page comes from the Kernel API Manual, and the header spells the page as ice_devlink_..._sf_dev_port(9) β but the actual function is ice_devlink_create_sf_dev_port, and yes she is iconic β¨
NAME π
ice_devlink_create_sf_dev_port β register virtual port for a subfunction π«Ά
SYNOPSIS πΈ
int ice_devlink_create_sf_dev_port (struct ice_sf_dev *sf_dev );
ARGUMENTS π¦
sf_devβ the subfunction device to create a devlink port for. That's the one and only argument, bestie; no hidden extras, no cap.
DESCRIPTION π
okay so here's the vibe: this function registers a virtual flavour devlink port for the subfunction auxiliary device created after activating a dynamically added devlink port. Literally that's the plot β virtual flavour devlink port registration for the subfunction auxiliary device, after the dynamic devlink port gets activated. Slay.
RETURN π₯
zero on success, or an error code on failure. So: success = zero, failure = the error code. Periodt.
SEE ALSO π
main character file: ./drivers/net/ethernet/intel/ice/devlink/port.c
the whole (9) squad, 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_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)
cute sign-off time π the footer's source/version is ./drivers/net/ethernet/intel/i... and the date is October 2026. 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