ice_alloc_dynamic_port(9)
π§ ice_alloc_dynamic_port(9) π§
okay bestie, welcome to the Kernel API Manual π β this page is all about ice_alloc_dynamic_port, and it's giving "new dynamic port just dropped" energy β¨. No cap, it's short and sweet, so let's get into it.
β¨ NAME β¨
ice_alloc_dynamic_port β allocate new dynamic port π
πΈ SYNOPSIS πΈ
Here's the signature, verbatim, because we do not mess with code π«Ά:
int ice_alloc_dynamic_port (struct ice_pf *pf , const struct
devlink_port_new_attrs *new_attr , struct netlink_ext_ack *extack ,
struct devlink_port **devlink_port );
π ARGUMENTS π
pfβ pointer to thepfstructure β¨new_attrβ devlink port attributes requested π¦extackβ extack for reporting error messages πdevlink_portβ index of newly created devlink port π
π¦ DESCRIPTION π¦
Allocate a new dynamic port instance and prepare it for configuration with devlink π. That's the whole mission, and it ate π .
π₯ RETURN π₯
Returns zero on success or an error code on failure π. That's it β no mystery, no plot twist.
π SEE ALSO π
okay, the friend group is long, but every single one is here, bestie π«Ά:
- Kernel file
./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_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_devlink_port_new(9)
source/version + date check, bestie: source/version ./drivers/net/ethernet/intel/i... Β· date October 2026 ππ
π¦ 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