ice_devlink_create_sf_port(9)
π ice_devlink_create_sf_port(9) π
okay so bestie, welcome to the Kernel API Manual β this one's all about ice_devlink_create_sf_port(9), and honestly? it's a lil baddie of a function that just registers a thing and dips. let's get into it β¨
πΈ NAME πΈ
ice_devlink_create_sf_port β registers a PCI subfunction devlink port. that's it, that's the vibe π
β¨ SYNOPSIS β¨
int ice_devlink_create_sf_port (struct ice_dynamic_port *dyn_port );
like, it takes one arg and hands you back an int. no cap. π
π«Ά ARGUMENTS π«Ά
dyn_portβ the dynamic port instance structure for this subfunction. yeah, the struct that holds all the deets about this particular dynamic port. it's giving "main character energy" for this whole call ngl π
π¦ DESCRIPTION π¦
so what it actually does: it registers the PCI subfunction flavour of devlink port, specifically for a subfunction port that got added dynamically. lowkey straightforward, highkey important π₯
not me emphasizing "dynamically added" β the manpage says it, so i'm saying it. it's a dynamic port, bestie, that's the whole point π«Ά
β RETURN β
zeroon success π slay, it worked- an error code on failure π it did not work, check ur stuff
π SEE ALSO π
okay this list is LONG, so buckle up. the kernel file lives at ./drivers/net/ethernet/intel/ice/devlink/port.c and here's every sibling function the page points you at β all of them, no skips, i promised π§
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_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_destroy_sf_port(9)ice_alloc_dynamic_port(9)ice_devlink_port_new(9)
iykyk π that's a whole friend group right there. go read 'em if u need context, bestie, i believe in u π
lowkey the path ./drivers/net/ethernet/intel/i... is truncated in the original footer, so that's exactly how it's written here too β don't come for me, i don't make the rules π
aaaand that's the page!! π source/version vibes were ./drivers/net/ethernet/intel/i... and the date on this iconic lil doc is October 2026 β so yes, this manual page is lowkey from the future, periodt. catch u in the next one, bestie ππ§ββοΈπ
π¦ 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