ice_devlink_...et_vf_fn_mac(9)
π ice_devlink_port_set_vf_fn_mac β Kernel API Manual β¨
okay so bestie, welcome to the ice_devlink_...et_vf_fn_mac(9) page π§ β yes the header truncates it like that, it's giving "name too long for the vibes", but the actual function is ice_devlink_port_set_vf_fn_mac and she is a devlink handler, specifically the .port_fn_hw_addr_set one π
β¨ NAME β¨
ice_devlink_port_set_vf_fn_mac β the .port_fn_hw_addr_set devlink handler π
πΈ SYNOPSIS πΈ
int ice_devlink_port_set_vf_fn_mac (struct devlink_port *port , const u8
*hw_addr , int hw_addr_len , struct netlink_ext_ack *extack );
π¦ ARGUMENTS π¦
portβ the devlink port structure, like, the whole port situation π«Άhw_addrβ MAC address of the port, iconic little bytes π₯hw_addr_lenβ length of the MAC address, because size matters (for buffers) πextackβ extended netdev ack structure, the receipts/feedback channel π¬
π DESCRIPTION π
She's a callback for the devlink .port_fn_hw_addr_set operation β¨. That's the whole job description, no cap.
β RETURN β
zero on success or an error code on failure π β so like, 0 = slay, anything else = we gotta talk.
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/ice/devlink/port.c β go read the source, it's right there bestie π
and the whole friend group, fr fr:
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_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)
π k bye bestie, this page came from ./drivers/net/ethernet/intel/i... (truncated, iykyk) and it's dated October 2026 β mark your calendar, 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