ice_vfhw_mac_add(9)
π ice_vfhw_mac_add(9) π
okay so bestie, welcome to the Kernel API Manual page for ice_vfhw_mac_add β yes the title is literally the function name, we're doing this, and no I'm not gonna make you guess what it does. Strap in π
β¨ NAME β¨
ice_vfhw_mac_add β update the VF's cached hardware MAC if allowed π
lowkey the "if allowed" is doing a lot of heavy lifting there, bestie. it's giving conditional. it's giving permission-slip energy. keep that in mind π«Ά
πΈ SYNOPSIS πΈ
void ice_vfhw_mac_add (struct ice_vf *vf , struct virtchnl_ether_addr
*vc_ether_addr );
so it returns void (no return value, no little gift back, nothing π) and it takes exactly two things. that's it. two. we love a low-parameter-count icon π
π¦ ARGUMENTS π¦
vfβ the VF you want to update. this is your VF. the main character of this operation βvc_ether_addrβ a structure fromVIRTCHNLthat carries the MAC address you're adding. think of it as the little envelope π© with the MAC inside, hand-delivered from VIRTCHNL.
π SEE ALSO π
okay bestie this list is long β like, scroll-for-a-while long β but every single one of these is part of the family and we do not leave family behind π no skipping, no "eh close enough", we're listing all of them fr fr.
first up, the file it lives in:
Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c
and now the whole entire squad, in order, exactly as printed π:
ice_vc_vf_broadcast(9)ice_set_pfe_link(9)ice_vc_notify_vf_link_state(9)ice_vc_notify_link_state(9)ice_vc_notify_reset(9)ice_vc_send_msg_to_vf(9)ice_vc_get_ver_msg(9)ice_vc_get_vlan_caps(9)ice_vc_get_vf_res_msg(9)ice_vc_reset_vf_msg(9)ice_vc_isvalid_vsi_id(9)ice_vc_get_qos_caps(9)ice_vc_cfg_promiscuous_mode_msg(9)ice_vc_get_stats_msg(9)ice_can_vf_change_mac(9)ice_vc_ether_addr_type(9)ice_is_vc_addr_legacy(9)ice_is_vc_addr_primary(9)ice_is_mc_lldp_eth_addr(9)ice_vc_can_add_mac(9)ice_vc_add_mac_addr(9)ice_is_legacy_umac_expired(9)ice_update_legacy_cached_mac(9)ice_vfhw_mac_del(9)ice_vc_del_mac_addr(9)ice_vc_handle_mac_addr_msg(9)ice_vc_add_mac_addr_msg(9)ice_vc_del_mac_addr_msg(9)ice_vf_vlan_offload_ena(9)ice_is_vlan_promisc_allowed(9)ice_vf_ena_vlan_promisc(9)ice_vf_dis_vlan_promisc(9)ice_vf_has_max_vlans(9)ice_vc_process_vlan_msg(9)ice_vc_add_vlan_msg(9)ice_vc_remove_vlan_msg(9)ice_vsi_is_rxq_crc_strip_dis(9)ice_vc_ena_vlan_stripping(9)ice_vc_dis_vlan_stripping(9)ice_vc_query_rxdid(9)ice_vf_init_vlan_stripping(9)ice_vf_outer_vlan_not_allowed(9)ice_vc_set_dvm_caps(9)ice_vc_set_svm_caps(9)ice_vc_get_offload_vlan_v2_caps(9)ice_vc_validate_vlan_tpid(9)ice_vc_is_valid_vlan(9)ice_vc_validate_vlan_filter_list(9)ice_vc_to_vlan(9)ice_vc_vlan_action(9)ice_vc_del_vlans(9)ice_vc_remove_vlan_v2_msg(9)ice_vc_add_vlans(9)ice_vc_validate_add_vlan_filter_list(9)ice_vc_add_vlan_v2_msg(9)ice_vc_valid_vlan_setting(9)ice_vc_valid_vlan_setting_msg(9)ice_vc_get_tpid(9)ice_vc_ena_vlan_offload(9)ice_vc_ena_vlan_stripping_v2_msg(9)ice_vc_dis_vlan_stripping_v2_msg(9)ice_vc_ena_vlan_insertion_v2_msg(9)ice_vc_dis_vlan_insertion_v2_msg(9)ice_virtchnl_set_dflt_ops(9)ice_vc_repr_add_mac(9)ice_vc_repr_del_mac(9)ice_virtchnl_set_repr_ops(9)ice_is_malicious_vf(9)ice_vc_process_vf_msg(9)
likeβ¦ seventy entries. seventy!! we ate and left zero crumbs πβ¨ but every one of them is linked and correct so don't come for me.
π«Ά friendly reminder before you go: the whole point of this one is the "if allowed" β it updates the VF's cached hardware MAC, and only when the permissions say yes. no vibes-based MAC changes today, bestie. π
and that's the page!! source/version bit is ./drivers/net/ethernet/intel/i... and the date on this lil masterpiece is October 2026 β so yeah, future-coded, iconic, timeless ππ¦ ty for reading, go forth and cache those MACs responsibly βπ
π¦ 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