ice_vc_can_add_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_vc_can_add_mac(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, that Kernel API Manual, the one with the driest prose on earth, except now it's got flavor. this little function is the bouncer at the club door for MAC addresses, and tbh it's giving main character energy 🌟


✨ NAME ✨

ice_vc_can_add_mac β€” the vibe check that tells you whether a VF is even allowed to add a given MAC address πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bool ice_vc_can_add_mac (const struct ice_vf *vf , const u8 *mac );

literally just that. one call, one yes-or-no, no cap. πŸ’–


🌸 ARGUMENTS 🌸

  • vf β€” the VF you're adding the address to. like, the actual virtual function bestie, hand it over 🫢
  • mac β€” the address to check. the one we're all here to interrogate πŸ’…

⭐ RETURN ⭐

returns true if the VF is allowed to add such MAC address, and false otherwise. that's it, that's the whole personality. iykyk πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

hang on, this list is long β€” it's giving "tag yourself i'm ice_vc_process_vf_msg(9)" energy 😭 but every single one matters, so here we go, no skipping:

the file itself: Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c

the whole friend group: 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_vfhw_mac_add(9), ice_is_mc_lldp_eth_addr(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)

whew. ate and left no crumbs πŸ“


ngl bestie, if you got this far you're officially a virtchnl girlie. go touch some virtchnl.c πŸ’œ

sign-off time 🧚✨ this page came straight out of ./drivers/net/ethernet/intel/i... and it's dated October 2026 β€” so like, future-dated, iconic, periodt. mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from