ice_devlink_...et_vf_fn_mac(9)
π
ice_devlink_...et_vf_fn_mac(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual corner where this little kernel cutie lives β¨ no cap, weβre keeping every fact exactly where it belongs.
β¨ NAME β¨
ice_devlink_port_get_vf_fn_mac β the .port_fn_hw_addr_get devlink handler. Thatβs the name card, and itβs giving kernel-handler icon energy π
π SYNOPSIS π
hereβs the signature, bestie β copy it exactly or the compiler will side-eye you π
int ice_devlink_port_get_vf_fn_mac (struct devlink_port *port , u8
*hw_addr , int *hw_addr_len , struct netlink_ext_ack *extack );
πΈ ARGUMENTS πΈ
portβ devlink port structure π«Άhw_addrβ MAC address of the port β¨hw_addr_lenβ length of MAC address πextackβ extended netdev ack structure π
π¦ DESCRIPTION π¦
Callback for the devlink .port_fn_hw_addr_get operation. Thatβs the assignment, bestie β just the callback vibe check, periodt π
π₯ RETURN π₯
zero on success or an error code on failure. Slay when itβs zero, side-eye when itβs an error code π
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/intel/ice/devlink/port.c β go read the source, itβs giving main character energy πβ¨
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_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)
bye bestie π β this pageβs source/version is ./drivers/net/ethernet/intel/i..., the date is October 2026, and the footer title is ice_devlink_...et_vf_fn_mac(9) πβ¨
π¦ 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