ice_devlink_port_unsplit(9)
π ice_devlink_port_unsplit(9) β¨
okay bestie, grab your iced coffee because we're diving into the Kernel API Manual, section 9 β this one's all about the devlink handler called .port_unsplit, and honestly? it's giving "undo button energy" π
πΈ NAME πΈ
ice_devlink_port_unsplit β the .port_unsplit devlink handler, periodt π
β¨ SYNOPSIS β¨
int ice_devlink_port_unsplit (struct devlink *devlink , struct
devlink_port *port , struct netlink_ext_ack *extack );
like, that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
devlinkβ the devlink instance structure, your main character π«Άportβ the devlink port structure, living its best lifeextackβ the extended netdev ack structure (yes it's a real thing, iykyk)
π DESCRIPTION π
So this is the callback for the devlink .port_unsplit operation β literally what runs when someone wants to un-split. And the way it works? It just calls ice_devlink_port_split with the split count set to 1. simple, iconic, done π₯
β οΈ heads up bestie: there could be no FW option available with split count 1. so like, don't come for me if that happens, the firmware said no π
β RETURN β
zero on success, or an error code on failure. slay when it works, π when it doesn't, that's just how it is.
π SEE ALSO π
first up, the kernel file it lives in:
./drivers/net/ethernet/intel/ice/devlink/port.c
and then the whole friend group, fr fr β every single one of these:
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_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_create_sf_port(9)ice_devlink_destroy_sf_port(9)ice_alloc_dynamic_port(9)ice_devlink_port_new(9)
like okay go off, read all of them, i'll wait π
k bye bestie, this page came from ./drivers/net/ethernet/intel/i... and it's dated October 2026, so like, mark your calendar and hydrate π
β¨πΈ
π¦ 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